git bash rebase 1 of

时间:2016-01-12 22:44:59

标签: git git-bash

尝试推送时git bash的问题。我已尝试以下(请参阅代码段)在推送之前拉下最新版本,但我收到以下错误(请参阅屏幕截图)。我该如何解决这个问题? 非常感谢,

enter image description here

git pull --rebase

更新

见下文

enter image description here

3 个答案:

答案 0 :(得分:0)

你正处于变革的中间?,试试RIGHT JOIN

答案 1 :(得分:0)

尝试以下序列,

git commit
git clean -f
git pull --rebase
                    |
                    | # resolve conflict, use mergetool
#only when conflict | git add
                    | git rebase --continue
                    |
git push

答案 2 :(得分:0)

首先要做的事情 - 这不是错误。 Git告诉你,你已经有3次提交了rebase,并且它遇到了冲突第一个。

必须解决冲突中的冲突,然后通过git add .然后将它们添加到您的索引中,您可以使用git rebase --continue。< / p>

如果您想放弃rebase并重新开始,请使用git rebase --abort