[英]Why I can't use GIT from Eclipse ? I can't do GIT operations on my project files (EGit plugin installed)
this is my first time using GIT inside Eclipse (I always used from IntelliJ or console) but I am finding some difficulties trying to configure it. 这是我第一次在Eclipse中使用GIT(我总是从IntelliJ或控制台使用它),但是在尝试配置它时发现了一些困难。
I am following this official tutorial: http://www.vogella.com/tutorials/EclipseGit/article.html#git-support-for-eclipse 我正在关注此官方教程: http : //www.vogella.com/tutorials/EclipseGit/article.html#git-support-for-eclipse
I have correctly installed the GIT plugin into my Eclipse. 我已经将GIT插件正确安装到了Eclipse中。
If I open the GIT Repositories perspective (as shown in the tutorial) it works fine and here I see the repository defined in my project (the only GIT project that I have in my workspace at this time). 如果打开“ GIT存储库”透视图(如本教程中所示),它将正常工作,并且在这里我看到了项目中定义的存储库(这是我目前在工作区中唯一的GIT项目)。
The problem is that going into my Package explorer I can't see the indicators of the files status (if something is changed and have to be committed, if there are conflict, etcetc), as explained in the tutorial. 问题是进入软件包浏览器后,我看不到文件状态的指示符(如果已更改某些内容且必须提交,是否存在冲突等),如本教程中所述。
At the same time it seems that I can't do GIT operation on these files (for example add a file to the staging are). 同时,似乎无法对这些文件执行GIT操作(例如,将文件添加到暂存器中)。 Selecting a file and doing right click --> Team I have no GIT reference, this is what I have: 选择一个文件并右键单击->团队我没有GIT参考,这是我拥有的:
Why? 为什么? What is wrong? 怎么了? What am I missing? 我想念什么? How can I correctly use GIT from my Eclipse? 如何从Eclipse中正确使用GIT?
右键单击项目根,然后查看是否存在Team
-> Share Project
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.