Git pull results in extraneous “Merge branch” messages in commit log

后端 未结 5 1618
傲寒
傲寒 2020-12-04 07:02

I\'m working with another developer on a project, and we\'re using Github as our remote repo. I\'m on a Mac using git 1.7.7.3, he\'s on Windows using git 1.7.6.

This

5条回答
  •  再見小時候
    2020-12-04 07:46

    You can do:

    git pull --rebase
    

    However, this will always put your changes on top of your collaborators'. But you won't get any polluting merge message.

提交回复
热议问题