GIT How to view history of turnins
I would like to see the history of changes for a file in GIT revision tool. Also the date when turnin was done,who made the chang开发者_StackOverflowe and any related turnin comments
You mean log?
git log $FILENAME
You could use whatchanged
:
git whatchanged myfile.cpp
If you're looking for who did what to that file, you could also use git blame file.cpp
doc : http://www.kernel.org/pub/software/scm/git/docs/git-blame.html
But if you're looking for the full commit history of that file, use git log
doc : http://git-scm.com/docs/git-log
精彩评论