安装Egit是否会干扰现有的Git安装? [英] Will installing Egit interfere with existing Git installation?

查看:179
本文介绍了安装Egit是否会干扰现有的Git安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Git从命令行几个星期。我现在正在使用Eclipse作为IDE,并为Git插件 EGit 的项目。我担心通过安装EGit,我将在现有项目中销毁任何Git配置(我直接从终端维护/编码)。



如果EGit可能会干扰,怎么办(如何避免这种情况)?如果没有,为什么?

解决方案

不,它没有干扰。 EGit仅在Eclipse中工作,独立于命令行Git安装。关于配置,EGit当然会读取您现有的gitconfig。但是,如果您在命令行中使用最近的Git版本,则配置中不应有任何差异。



事实上,您可以在命令行上继续使用Git用于提交,推送等。如果项目在Eclipse中配置为EGit,这并不重要。


I have been working with Git from the command-line for a few weeks. I am now on a project that uses Eclipse as the IDE and EGit for the Git plugin. I am worried that by installing EGit I'm going to destroy any Git configs in my existing projects (that I've been maintaining/coding directly from a terminal).

If EGit could interfere, how so (and how can I avoid this)? If not, why?

解决方案

No, it doesnt interfere. EGit only works within Eclipse and is independent from a command line Git installation. Regarding the configuration EGit of course reads your existing gitconfig. But if you use a recent Git version on the command line, there shouldn't be any differences in the config.

In fact you can keep using Git on the command line for committing, pushing etc. It doesn't matter if the project is configured for EGit in Eclipse.

这篇关于安装Egit是否会干扰现有的Git安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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