I am a typical Eclipse/Subversion user beginning the migration to Git. I\'ve researched the basic concepts of git and have decided to stick to a one project per repository a
I am doing the same migration as the original poster and have found another thread where the same doubts are expressed on the Egit recommendation: Should I store git repository in Home or Eclipse Workspace?
@JamesG So this is your layout?
~/projectA/workspace/.metadata
~/projectA/workspace/subproj1/.project
~/projectA/workspace/subproj2/.project
~/projectA/subproj1/.git
~/projectA/subproj1/file1
~/projectA/subproj2/.git
~/projectA/subproj1/file2
The implications of both solutions are listed directly in the user guide that you linked. I can tell you that the part
This can result in performance issues
is unfortunately very true. So if you have a git directory with a huge number of files inside your workspace, many git operations will start with a "counting objects..." dialog that blocks your IDE because it scans all files in the workspace. For my current 20000 files this means waiting 10 to 20 seconds for every commit, every switch, ...
In spare time activities, where I can fortunately use the other alternative (having the git working directory outside the workspace) everything feels much snappier and it is fun to merge and switch.
So if you go for large projects, consider the git directory outside the workspace as first choice.