Created
May 1, 2014 11:40
-
-
Save nestserau/1f6e1621fdad199b5fce to your computer and use it in GitHub Desktop.
View the change history of a file using Git versioning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have got as far as: | |
git log -- [filename] | |
which shows me the commit history of the file, but how do I get at the content of each of the changes? | |
gitk [filename] | |
You can use | |
git log -p filename | |
to let git generate the patches for each log entry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment