Project vs Repository in GitHub

后端 未结 7 1869
情书的邮戳
情书的邮戳 2020-12-12 09:49

In GitHub, what is the conceptual difference between a project (that can be created inside a repository) and a repository?

I\'ve seen several similar questions (her

7条回答
  •  萌比男神i
    2020-12-12 10:29

    This is my personal understanding about the topic.

    For a project, we can do the version control by different repositories. And for a repository, it can manage a whole project or part of projects.

    Regarding on your project (several prototype applications which are independent of each them). You can manage the project by one repository or by several repositories, the difference:

    1. Manage by one repository. If one of the applications is changed, the whole project (all the applications) will be committed to a new version.

    2. Manage by several repositories. If one application is changed, it will only affect the repository which manages the application. Version for other repositories was not changed.

提交回复
热议问题