Should I store git repository in Home or Eclipse Workspace?

前端 未结 3 681
北荒
北荒 2020-12-07 12:33

I\'m just moving from svn to git, and am keen to lay some good foundations.

By default Eclipse wants to store my local clone repository in ~/git. I\'m more comforta

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 13:25

    I think, it is a good idea storing the git version tree outside the workspace. This way it is possible to separate projects from different repositories, but still handle them in the same workspace.

    Additionally, if you put the code outside the workspace, you can organize your projects hierarchically outside the workspace (in the working copy), but still see the flat representation in Eclipse.

提交回复
热议问题