lurscher
lurscher

Reputation: 26943

inspect changes after a git pull merge

is it possible to play a git diff in the changes brought by the automatic merge after a git pull?

Usually, if there are any conflicts i can check on those using normal git diff, but no idea how to do it when the pull was successful (and the changes were automatically commited)

Upvotes: 1

Views: 144

Answers (1)

Colin Hebert
Colin Hebert

Reputation: 93157

If you've just done the git pull you can look the difference between the current HEAD and the previous one with something like:

git diff HEAD@{1}

Upvotes: 2

Related Questions