1
git branch
git branch 分支名
git reset --hard HEAD~1
git checkout 分支名
git merge 分支名
git branch -d 分支名
感谢鼓励