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?
"Enabling linking between the Git Staging view and other views" didn't help in my case. I also tried deleting branch and checking out again. Nothing worked.
What I did was:
Right click on any of the modified file -> Team -> Commit.
Somehow it worked and I could see all modified files in unstaged changes.
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"
I had the same issue. This is what worked for me - Under the 'Package Explorer' Right click on the your project -> Team -->Share Projects... -> Then in the list of projects, select your project * Seems weird, but sharing back to itself resolved this issue for me Good Lucks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With