一. git 代码提交时循环 rebase
git rebase
1.commint
2.push
3.rebase
4.失败无限rebase ×
5.revert
6.reset (Mixed)
7.revert
8.reset(直到LocalChanges中不存在文件)
9.push
10.rebase
二. git pull 产生错误导致 代码消失
1.git stash list
2.git stash pop
一. git 代码提交时循环 rebase
git rebase
1.commint
2.push
3.rebase
4.失败无限rebase ×
5.revert
6.reset (Mixed)
7.revert
8.reset(直到LocalChanges中不存在文件)
9.push
10.rebase
二. git pull 产生错误导致 代码消失
1.git stash list
2.git stash pop