Git: Show list of commits during interactive rebase
问题 I'm in the middle of an interactive rebase. Is there a command that shows the list of commits that were initially selected when I started the rebase? 回答1: During the interactive rebase, git updates files in your .git directory under the sub-directory rebase-merge (the exact path has changed in various versions of git, as I recall; I'm looking at git 2.0.x behavior right now). In that directory are the files done and git-rebase-todo . These are not quite what you asked for: they're the