zl程序教程

您现在的位置是:首页 >  工具

当前栏目

git rebase之前需要commit才行

Git 需要 之前 commit rebase
2023-09-27 14:26:55 时间

更新好本地代码后,git fetch,

接着合并,但是git rebase 不行,

git status一看,有很多更新的文件。

于是 git add --后,再rebase,还是不行。

注意,rebase之前,如果本地有更新,一定要先commit,才行,否则合并不了。