开发者

git - fetch an intermediate commit

Is ther开发者_StackOverflowe any git command to fetch an intermediate commit, just like 'svn co -r xxx' works? Thanks!


git checkout <commit-id>, where <commit-id> is the SHA1 of a commit, a tag, or a branch.

Note that in git vocabulary, fetch refers to connecting to a remote repository and grabbing its commits.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜