开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜