“git pull --rebase” in Eclipse

后端 未结 3 1119
自闭症患者
自闭症患者 2021-01-01 19:19

Our version control manager recommends us to use git pull --rebase to pull new changes from upstream branch. I want to use EGit (Eclipse plugin for git) to exec

3条回答
  •  醉梦人生
    2021-01-01 19:42

    Use

    git config branch.*branch-name*.rebase true
    

    And pull will automatically rebase.

    You can set it up to configure new branches automatically.

    git config branch.autosetuprebase always
    

提交回复
热议问题