开发者

GIT How to view history of turnins

开发者 https://www.devze.com 2023-03-28 18:45 出处:网络
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 commentsYou mean log?

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

精彩评论

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

关注公众号