Why does git continue to give me a merge message?

I am wondering why git keeps giving me a merge message.

enter image description here

  • I have nothing to drain.
  • I already cleared all my stamps with git stash clear
  • Also, before doing this git pull, I ran git status:

enter image description here

Can someone tell me how to resolve this?

+4
source share
2 answers

I assume that you are doing this on a production server, and your deployment workflow consists of pull and deploy.

, - , , - , . , , .

reset .

git reset --hard origin/master

, , git, , .


--ff-only, , .

git pull --ff-only
+2

git pull git fetch + git merge, , , .

, - , , , .

0

All Articles