Specifically I'm using Eclipse and egit:
- using the wizard to share a project with egit, it moved the working directory out of the eclipse workspace into the folder I had chosen to hold git depositories
- the .git repository was contained in this folder
My questions are:
- I read that the git repository should not be in the Eclipse workspace but why can't the working directory be in the Eclipse workspace?
- Is it because the local repository have to be contained inside the git working directory?
I've found a few questions about moving the directory back, but I don't want to do that without knowing why it was moved in the first place (I don't want to create problems for later).