0

issue with git bash when trying to push. I've tried the following (see code snippet) to pull the latest down before pushing but I get the following error (see screen shot). How can I resolve this please? Many thanks,

enter image description here

code

git pull --rebase

Update

See below

enter image description here

Jamie
  • 321
  • 1
  • 6
  • 18

3 Answers3

0

You are in the middle of a rebase?, try git rebase --continue.

0

Try this below sequence,

git commit
git clean -f
git pull --rebase
                    |
                    | # resolve conflict, use mergetool
#only when conflict | git add
                    | git rebase --continue
                    |
git push
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
0

First things first - that's not an error. Git is telling you that you've got 3 commits to rebase, and it's run into a conflict on the first one.

You must resolve the conflicts in the conflict, then add them to your index via git add ., then you can use git rebase --continue.

If you want to abandon the rebase and start over, use git rebase --abort.

Makoto
  • 104,088
  • 27
  • 192
  • 230