📜  将提交从 master 移动到分支 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:13.442000             🧑  作者: Mango
代码示例3
git checkout existingbranch
git branch newBranch
git reset --hard HEAD~2 # go back 2 commits on existingBranch