为什么在Eclipse的Egit中,Commit Greyed-out [英] Why is Commit Greyed-out in Eclipse's Egit

查看:161
本文介绍了为什么在Eclipse的Egit中,Commit Greyed-out的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

EGit中的提交按钮神秘地被灰暗化了。前几天工作很好。有谁知道如何解决这个问题。我没有在Google上找到任何线索。我会包括一个屏幕截图,但我还没有足够的信誉点。

The commit button in EGit has mysteriously been greyed-out. It was working just fine a few days ago. Does anyone know how to fix this. I haven't found any clues on Google. I'd include a screenshot, but I don't have enough reputation points yet.

推荐答案

我遇到同样的问题最后设法解决它如下:

I was running into the same problem and finally managed to solve it as follows:

由于一切都在我添加远程主机之前工作,所有的工作都在我的小玩具项目中,我删除并重新添加我的远程主机使用gut bash:

Since everything was working before I added the remote host, amd everything worked in my small toy project, I removed and re-added my remote host using gut bash:

git remote remove origin

git remote remove origin

git remote add origin git @ my_servername:my_repository .git

git remote add origin git@my_servername:my_repository.git

之后,Egit按预期工作。

After that, Egit worked as expected.

这篇关于为什么在Eclipse的Egit中,Commit Greyed-out的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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