I have created a new commit, but forgot to pull before that. (I should have used git stash
and than git pull
.) Now if I git pull
, I get an additional commit "merge origin/<branch> to <branch>" (Some commits have already been pushed by some other colleagues.), which I don't want.
Is there any way to do git pull
without merging?