Finding diff between current and last version
I don’t really understand the meaning of “last version”. As the previous commit can be accessed with HEAD^, I think that you are looking for something like: git diff HEAD^ HEAD That also can be applied for a :commithash git diff $commithash^ $commithash As of Git 1.8.5, @ is an alias for HEAD, so you … Read more