GitHub中的Project vs Repository [英] Project vs Repository in GitHub

查看:298
本文介绍了GitHub中的Project vs Repository的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在GitHub中,项目(可以在存储库内部创建)和存储库之间在概念上有什么区别?

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

我已经看到了几个类似的问题(此处此处),但是它们都没有解释什么是GitHub项目,什么是GitHub存储库以及何时使用它们中的每一个.

I've seen several similar questions (here, here and here) in SO, but none of them explains what is a GitHub project, what is a GitHub repository and when to use each one of them.

如果有人能解释每个术语并提供何时使用/创建每个术语的示例,我将不胜感激.例如,如果我有几个相互独立的原型应用程序,那么我将创建什么以便以有组织的方式管理所有这些应用程序的源代码?

I would appreciate if someone can explain each term, and provide an example of when to use/create each one. For instance, if I have several prototype applications, all independent of each other, what do I create in order to manage in an organized way the source code for all of them?

推荐答案

GitHub最近推出了一项名为

GitHub recently introduced a new feature called Projects. This provides a visual board that is typical of many Project Management tools:

GitHub上记录的存储库:

A Repository as documented on GitHub:

存储库是GitHub的最基本元素.他们最容易 想象作为一个项目的文件夹.储存库包含所有 项目文件(包括文档),并存储每个文件的 修订记录.存储库可以有多个合作者,并且可以 可以是公开的也可以是私人的.

A repository is the most basic element of GitHub. They're easiest to imagine as a project's folder. A repository contains all of the project files (including documentation), and stores each file's revision history. Repositories can have multiple collaborators and can be either public or private.

A 项目如GitHub所述:

A Project as documented on GitHub:

GitHub上的项目板可帮助您组织工作并确定工作的优先级.您可以为特定的功能工作,全面的路线图甚至发布清单创建项目板.使用项目板,您可以灵活地创建适合您需求的定制工作流.

Project boards on GitHub help you organize and prioritize your work. You can create project boards for specific feature work, comprehensive roadmaps, or even release checklists. With project boards, you have the flexibility to create customized workflows that suit your needs.

部分困惑是,新功能Projects与上述文档中术语 project 的超载使用相冲突.

Part of the confusion is that the new feature, Projects, conflicts with the overloaded usage of the term project in the documentation above.

这篇关于GitHub中的Project vs Repository的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆