开发者

git - fetch an intermediate commit

开发者 https://www.devze.com 2023-03-01 13:09 出处:网络
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,

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

精彩评论

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