Search This Blog

Monday, 13 October 2014

Git: Check last changes in a given file

To see the last commits of a given file:
git log <filename>

What has changed:
git log -p <filename>

To see more options:
git help log

There is also a nice tool to browse the commits visually:
gitk

No comments:

Post a Comment