git 创建本地存储库_Git入门指南—如何启动和创建您的第一个存储库

git 创建本地存储库

如果您是开发人员,并且想开始使用Git和GitHub,那么本文将为您准备。 (If you are a developer and you want to get started with Git and GitHub, then this article is made for you.)

After a short introduction on what is Git and how to use it, you will be able to create and work on a GitHub project.

在简短介绍了什么是Git以及如何使用它之后,您将能够创建并在GitHub项目上工作。

什么是Git? (What is Git?)

Git is a free and open source software created by Linus Torvalds in 2005. This tool is a version control system that was initially developed to work with several developers on the Linux kernel.

GitLinus Torvalds在2005年创建的免费开源软件。该工具是一个版本控制系统,最初是为了与Linux内核上的多个开发人员合作而开发的。

Many control systems exist, like CVS, SVN, Mercurial and others, but today Git is the standard software for version control.

存在许多控制系统,例如CVS,SVN,Mercurial等,但是今天,Git是用于版本控制的标准软件。

版本控制,对不对? (Version control, right?)

If you are new in the development world, these words will not tell you anything. However, don’t worry after this short paragraph, you will exactly know what a “Version Control System (VCS)” is.

如果您是开发领域的新手,那么这些话不会告诉您任何信息。 但是,不必担心这段简短的段落,您将完全知道什么是“ 版本控制系统(VCS) ”。

Version control is a management system that takes into consideration modifications you’ve made on a file or a set of files (example: a code project). With this system, developers can collaborate and work together on the same project.

版本控制是一个管理系统,它考虑到您对一个文件或一组文件( 例如:代码项目)所做的修改。 使用此系统,开发人员可以在同一个项目上进行协作和一起工作。

A branch system is carried by version control and allow developers to work individually on a task (example: One branch, one task or one branch, one developer) before to combine all changes made by the collaborators into the main branch.

分支系统由版本控制承载,允许开发人员在将协作者进行的所有更改组合到主分支之前,单独处理一项任务( 例如:一个分支,一个任务或一个分支,一个开发人员)。

All changes made by developers are traced and saved in a history. It can be beneficial to track modifications made by every collaborator.

开发人员所做的所有更改都将被跟踪并保存在历史记录中。 跟踪每个协作者所做的修改可能是有益的。

在哪里可以找到Git仓库 (Where to find Git repositories)

If you want to start using Git, you need to know where to host your repositories. There are many hosting platforms where you can put your code free of charge. Some options aren’t free, but mostly you don’t need them except in specific cases.

如果要开始使用Git,则需要知道将存储库托管在何处。 您可以在许多托管平台上免费放置代码。 有些选项不是免费的,但是除了特定情况下,大多数情况下您不需要它们。

Here the three most popular Git hosting services:

以下是三种最受欢迎​​的Git托管服务:

  • GitHub: Owned recently by Microsoft — Launched in 2008 (31 million users in October 2018).

    GitHub 由Microsoft最近拥有-于2008年启动(2018年10月为3,100万用户)。

  • GitLab: Owned by GitLab Inc. — Launched in 2011.

    GitLab 由GitLab Inc.拥有-于2011年推出。

  • BitBucket: Owned by Atlassian — Launched in June 2008.

    BitBucket Atlassian拥有-2008年6月推出。

Note: Hosting platforms are available in two ways, on the cloud (hosted online) or self-installed on your server (private hosting).
注意:托
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值