![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
John8988
这个作者很懒,什么都没留下…
展开
-
git 从某次提交拉分支
从git的某次提交(commit)拉取分支:git checkout -b branchname <commitId> 参考:https://stackoverflow.com/questions/2816715/branch-from-a-previous-commit-using-git ...2018-04-20 10:02:45 · 9863 阅读 · 0 评论 -
git merge from commit of another branch
使用git时,想从某个分支(branch_A)的某个提交(commitId:9e53a6db43cd5e5d52e5b28b34d83f38ccdb668b)应用于另外一个分支(branch_B),可使用cherry-pick, cherry-pick会重演某些commit, 即把某些commit的更改重新执行一遍; 1.基于branch_B分支新建分支branch_B_1,...原创 2018-05-07 15:00:13 · 374 阅读 · 0 评论