git 从某次提交拉分支

从git的某次提交(commit)拉取分支:

git checkout -b branchname <commitId>

参考:https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git



 

猜你喜欢

转载自java8988.iteye.com/blog/2419577
今日推荐