Reputation: 1399
I'm using Github GUI and I've an old version of my project called 2.4, but the difference in a certain file is too big to be visible.
Can i through the commandline show the diff in the commit at: 8f135b0
?
Upvotes: 0
Views: 122
Reputation: 468081
The command:
git show 8f135b0
... which show you the change introduced by that commit as a diff, as well as the commit message and other details.
Upvotes: 1
Reputation:
Between what and what? Current and the old commit?
git diff HEAD 8f135b0
More generally, git-diff
can take two commits and show the diffs between them. HEAD is a symbolic name for the current head you are in.
See man git-diff
for more info.
Upvotes: 1