简体   繁体   English

Eclipse + Git无法提交

[英]Eclipse + Git cannot Commit

When I switched into my local git folder eclipse recognized automatically that it was git-related and started to put indications in my project about in what branch was I and similar. 当我切换到本地git文件夹时,eclipse会自动识别出它与git有关,并开始在我的项目中添加关于我和哪个分支的指示。 I did NOT have eGit installed. 我没有安装eGit。 I can work on the project, create branches and merge them. 我可以从事该项目,创建分支并合并它们。 However, there is NO commit button anywhere on Eclipse: right clicks, navigation bars etc. I tried to install eGit and restart but nothing changed. 但是,Eclipse上的任何地方都没有提交按钮:右键单击,导航栏等。我尝试安装eGit并重新启动,但未进行任何更改。 This is how I see Eclipse in Git Perspective. 这就是我在Git透视图中看到Eclipse的方式。 Eclipse工作区

Can anyone explain me what's happening? 谁能解释我发生了什么事?

Click Windows > Customize Perspective Select all Git actions. 单击Windows > Customize Perspective选择所有Git操作。 Refer pic below. 请参阅下面的图片。 All actions will appear in Toolbar. 所有操作将显示在工具栏中。 Check Command Groups and Availability tab and select Git command groups here. 检查命令组和可用性选项卡,然后在此处选择Git命令组。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM