如果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安装?
发布评论