git project vs repository, what's the fundamental difference?

后端 未结 4 1207
再見小時候
再見小時候 2021-02-02 08:49

I have two projects that currently use SVN and I\'m migrating to git, I signed up to gitorious and there\'s the option to create a new project or add a repository. I\'m just sta

4条回答
  •  既然无缘
    2021-02-02 09:39

    With respect to the underlying git system itself and loose terms, a git repo is the .git dir. A git project is the parent dir containing the .git dir; the parent dir also serves as the 'working directory."

    Three main sections of a Git project

    1. Git directory, .git (also known as repository)
    2. Working area/directory
    3. Staging area (the index)

提交回复
热议问题