Git Rebase Cheat Sheet/Keep commit as-is

Todo action to replay a commit normally.

Section: Interactive Rebase Actions

Keep commit as-is

text
text
pick a1b2c3d Commit message
Explanation

`pick` is the default action and applies the commit as a normal rebased commit.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Interactive Rebase Actions
Change commit message during rebase
Replay the commit but edit its message.
OpenIn sheettextsame section
Stop to amend a commit during rebase
Replay the commit and pause so you can modify it.
OpenIn sheettextsame section
Squash commit into previous commit
Combine two commits and merge their messages.
OpenIn sheettextsame section
Fix up previous commit
Combine commit into previous commit and discard this commit message.
OpenIn sheettextsame section
Drop a commit during rebase
Omit a commit from the rewritten history.
OpenIn sheettextsame section
Edit rebase todo during a rebase
Open the rebase todo list while a rebase is in progress.
OpenIn sheetbash3 tag match