GIT 如何查看turnins的历史记录

发布于 2024-11-30 01:57:15 字数 60 浏览 4 评论 0原文

我想在 GIT 修订工具中查看文件的更改历史记录。 还有提交完成的日期、谁进行了更改以及任何相关的提交评论

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 change and any related turnin comments

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

眼眸印温柔 2024-12-07 01:57:15

你是说日志吗?

git log $FILENAME

You mean log?

git log $FILENAME
碍人泪离人颜 2024-12-07 01:57:15

您可以使用whatchanged

git whatchanged myfile.cpp

You could use whatchanged:

git whatchanged myfile.cpp
苹果你个爱泡泡 2024-12-07 01:57:15

如果您正在查找谁对该文件做了什么,您还可以使用 git Blame file.cpp
文档: http://www.kernel.org/pub /software/scm/git/docs/git-blame.html

但是,如果您正在查找该文件的完整提交历史记录,请使用 git log
文档:http://git-scm.com/docs/git-log

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文