fithu
fithu

Reputation: 2424

How to view content of commit-id shown by git rebase?

The "git rebase" command shows a list of some commit ids to pick operations for them; the problem is that all history messages are the same (empty) and I don't know how they are correlated to SHA1 IDs shown in git gui. Is there any way to view commit's content by this id shown by git rebase?

Upvotes: 1

Views: 220

Answers (1)

Zombo
Zombo

Reputation: 1

git show should do it

Example

git show 8e222c8

More info

For commits it shows the log message and textual diff. It also presents
the merge commit in a special format as produced by git diff-tree --cc.

Upvotes: 3

Related Questions