“git pull -rebase”在Eclipse中 [英] "git pull --rebase" in Eclipse

查看:389
本文介绍了“git pull -rebase”在Eclipse中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的版本控制管理员建议我们使用 git pull --rebase 从上游分支引入新的更改。我想使用EGit(git的Eclipse插件)来执行。如何做到这一点?

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 execute that. How can I do this?

推荐答案

使用

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

And $

您可以将其设置为自动配置新的分支。

You can set it up to configure new branches automatically.

git config branch.autosetuprebase always

这篇关于“git pull -rebase”在Eclipse中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆