“Auto share projects位于git仓库”中的选项是什么?的EGit是什么意思? [英] What does the option "Auto share projects located in git repository" of EGit mean?

查看:2036
本文介绍了“Auto share projects位于git仓库”中的选项是什么?的EGit是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我导入一个maven项目。剩下的任务总是出现在自动共享git项目(等待)。

Every time I import a maven project. Among the remaining tasks to be done always appears Auto share git project (waiting).

我在网路上挖, /禁用该选项,但是我想了解正在做什么,如果我需要它。

I dig in the web and I just find where enable/disable the option, but I want to understand what is doing and if I need it.

我一直在做的是在命令行中创建/克隆项目,然后导入它在Eclipse中,那么我可以在EGit中执行所有的git工作。

What I always do is create/clone the project in command line and then import it in Eclipse, then I can do all the git work in EGit.

在这里,需要在git仓库中的自动共享项目位于git仓库选项情景或我可以禁用吗?

Is the Auto share projects located in git repository option necessary in this scenario or I can disable it?

推荐答案

简而言之:是的,该选项是必要的,否则您将不得不手动共享项目使用它所属的存储库。

In Short: Yes the option is necessary, otherwise you will have to manually share the project with the repository it belongs to.

选项位于Git仓库中的自动共享项目通常可以为您节省额外的共享具有存储库的创建或导入的项目。

The option Auto share projects located in Git repository usually saves you the extra step of sharing the created or imported project with a repository.

属于某个存储库的项目(位于工作目录中)需要标记为这样。因此,您将打开项目上下文菜单,转到团队>共享项目并选择存储库。

A project that belongs to a certain repository (in Git: is located within the work directory) needs to be marked as such. Therefore you would open the projects context menu, go to Team > Share Project and select the repository.

此后,您将看到装饰(例如当前分支),并且能够提交该项目的更改等。

Only thereafter you will see decorations (e.g. current branch) and be able to commit changes of that project etc.

无论何时创建或导入位于EGit已知的存储库的工作目录中的项目,如果启用上述选项,它将自动被共享。

Whenever a project is created or imported that is located within the work directory of a repository known to EGit, it will be automatically be shared if the above option is enabled.

这篇关于“Auto share projects位于git仓库”中的选项是什么?的EGit是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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