git bash 变基 1 的
git bash rebase 1 of
尝试推送时 git bash 出现问题。我已经尝试了以下(参见代码片段)在推送之前拉下最新的,但我收到以下错误(参见屏幕截图)。请问我该如何解决这个问题?
非常感谢,
代码
git pull --rebase
更新
见下文
您正处于变基过程中?请尝试 git rebase --continue
。
试试下面的顺序,
git commit
git clean -f
git pull --rebase
|
| # resolve conflict, use mergetool
#only when conflict | git add
| git rebase --continue
|
git push
首先要做的事情 - 这不是错误。 Git 告诉你你有 3 次提交要变基,它是 运行第一个冲突。
你必须解决冲突中的冲突,然后通过git add .
将它们添加到你的索引中,然后你可以使用 git rebase --continue
.
如果您想放弃变基并重新开始,请使用git rebase --abort
。
尝试推送时 git bash 出现问题。我已经尝试了以下(参见代码片段)在推送之前拉下最新的,但我收到以下错误(参见屏幕截图)。请问我该如何解决这个问题? 非常感谢,
代码
git pull --rebase
更新
见下文
您正处于变基过程中?请尝试 git rebase --continue
。
试试下面的顺序,
git commit
git clean -f
git pull --rebase
|
| # resolve conflict, use mergetool
#only when conflict | git add
| git rebase --continue
|
git push
首先要做的事情 - 这不是错误。 Git 告诉你你有 3 次提交要变基,它是 运行第一个冲突。
你必须解决冲突中的冲突,然后通过git add .
将它们添加到你的索引中,然后你可以使用 git rebase --continue
.
如果您想放弃变基并重新开始,请使用git rebase --abort
。