去特定的修订 [英] Go to particular revision
本文介绍了去特定的修订的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我克隆了某个项目的git仓库。我可以将文件转换为初始状态吗?当我查看文件时,请转至修订版2,3,4 ...最近的版本?
使用> git checkout<
使用 ; sha1>
检出特定的提交。 I cloned a git repository of a certain project. Can I turn the files to the initial state and when I review the files go to revision 2, 3, 4 ... most recent? I'd like to have an overview of how the project was evolving.
解决方案
Use git checkout <sha1>
to check out a particular commit.
这篇关于去特定的修订的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文