[jbosstools-users] JBDS 8 - GIT plugin won't add an existing local repository
nicolas duminil
jbosstools-users at lists.jboss.org
Fri Dec 5 06:23:48 EST 2014
I'm updating the case with the last results. As EGit doesn't seem to be able to access customized layout repositories having other names then .git, I created a new test repository as follows:
git --work-tree <My Eclipse workspace> --git-dir ./.git init
Notice that by doing this it is not the EGit plugin which serves my needs but it is me who serve the EGit plugin expectations. Anyway ... Now, at the Eclipse side I'm able to add a new existent GIT repository. The repository gets added and it's visible in the Git perspective. But when I try to share my projects via the new created directory, everything seems to be okay, with the exception that the projects aren't shared. Clicking again on projects and doing again Team the only option you have is Apply Patch and Share Projects. So, you can repeat the share operation 10 times, there is no any error message and the projects you want to share are simply not shared.
Finally, the only way that I managed to get things working is having the .git sub-directory and the tracked projects sub-directories at the root lavel of the same folder, which is exactly what the EGit documentation advises against. Very confusing !
Posted by forums
Original post: https://developer.jboss.org/message/912513#912513
More information about the jbosstools-users
mailing list