安装Egit是否会干扰现有的Git安装?

编程入门 行业动态 更新时间:2024-10-25 20:20:06
本文介绍了安装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安装?

本文发布于:2023-10-08 02:32:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1471258.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:是否会   干扰   Egit   Git

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!