美文网首页
2018-10-11 git show to view file

2018-10-11 git show to view file

作者: 五大RobertWu伍洋 | 来源:发表于2018-10-11 16:43 被阅读7次

git view file in specified commit

You can use git show to view a file’s content at a specific commit in git: http://www.pkill.info/linux/man/1-git-show/

git show REVISION:/path/to/file

You can also save a copy by

$ git show REVISION:/path/to/file >file.copy

[Administrator@RobertNote@/g/Projects/blog@16:43:04]

11413 $ git show 7a615a5:routes/cpc.js

相关文章

网友评论

      本文标题:2018-10-11 git show to view file

      本文链接:https://www.haomeiwen.com/subject/hknbaftx.html