📌  相关文章
📜  git move latest commit to new branch - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:39.401000             🧑  作者: Mango

代码示例3
git checkout existingbranch
git branch newBranch
git reset --hard HEAD~2 # go back 2 commits on existingBranch