如何在Eclipse Luna 4.4中选择临时视图的存储库? [英] How to select repository for staging view in Eclipse Luna 4.4?

查看:315
本文介绍了如何在Eclipse Luna 4.4中选择临时视图的存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在Eclipse中找到一个记录错误的解决方案(Luna 4.4)。我将Gitub中的Git存储库克隆到我的eclipse工作区视图中,并将相关的Maven项目导入到我的项目空间中。当我在Eclipse中显示分段视图时,它会出现,但表示No Repository Selected。因此,我无法将任何更改的文件拖到分段区域并提交。如何将我的克隆资源库与分段视图相关联?

I'm not able to find a solution to a documented bug in Eclipse (Luna 4.4). I've cloned a git repository from Github into my eclipse workspace view and imported the associated Maven project into my project space. When I then display the staging view in Eclipse, it appears, but says "No Repository Selected" up top. I'm therefore unable to drag any changed files into the staging area and commit them. How do I associate my cloned repository with the staging view?

推荐答案

尝试启用Git Staging视图和其他视图之间的链接。您可以通过在视图右上方的链接到编辑器和选择按钮,在刷新按钮的右侧。

Try enabling linking between the Git Staging view and other views. You do so by pushing the "Link with Editor and Selection" button on the top right of the view, to the right of the "Refresh" button.

在顶部图像,视图没有链接。

In the top image, the view is not linked.

在底部的图像中,视图已链接,按钮出现推

In the bottom image, the view is linked and the button appears "pushed"

这篇关于如何在Eclipse Luna 4.4中选择临时视图的存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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