Thanks to Jeremy, i found how to reactivate the repos myself. Basically, two steps were required:
Git Repositories
view;The second step won't work if the repo isn't available in the repository view. So, after an eclipse upgrade, do the following:
Git Repositories
viewGit Repositories
view:
Add an existing local Git Repository to this view
)
Search criteria
, enter the workspace directory, select "Look for nested repositores
", and hit Search:
Project explorer
;Team
-> Share Project...
":
Select Git Project, and in the next dialogue, select "Use or create Repository in parent folder of project
". Important: don't try to select the repository from the combo box that's visible when "Use or create Repository in parent folder of project
" isn't selected - it won't work.
The wizard suggests the local git repository that's located in the current project, so just hit Finish.
Even after adding git repos I cannot do Team/Share on project, but what helped was to close and open project - you can also select multiple projects so action is quick
In my case, the git repos existed but the team context did not show the "Share this project" option. It looked like the project was partially configured with git.
I could fix the problem by deleting the project (without deleting the actual files) and then importing the project back to eclipse.
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