如何正确rebase

2021-05-11  本文已影响0人  i断章

git rebase -i  origin/分支

合并冲突

git status

git rebase --continue

git push (如果不行就git push -f)

如何避免每次rebase:

git commit --amend(将本次提交合并到上一次提交commit中)

上一篇 下一篇

猜你喜欢

热点阅读