“git pull --rebase” in Eclipse

馋奶兔 提交于 2019-11-30 11:37: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

You can also change the rebase configuration of a branch from within Eclipse:

  1. Open the Git Repositories view and navigate to the local branch
  2. Open the context menu and select Configure Branch...
  3. In the resulting dialog, select the Rebase checkbox

EGit also honors the "branch.autosetuprebase" configuration when a new branch is created.

New update in Eclipse Mars shows the 'Pull...' option to rebase:

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!