git 一些操作

git 一些操作

组合拳

git merge  BX
git add
git commit

git rebase -i CX
git rebase --continue
git rebase --abort

后悔药

git reset 
git reset --merge

补丁

其他

git branch -m 原名 新名
git branch -m 新名 

比较

清理

git clean -d -f             //清除工作区所有变更

猜你喜欢

转载自blog.csdn.net/u011714033/article/details/89067562