git中vcs中git插件_GIT:VCS如何工作?

git中vcs中git插件

So what exactly does a VCS do? Before we go any further, let's go ahead and understand some basic terminology.

那么VCS到底是做什么的呢? 在继续进行之前,让我们继续了解一些基本术语。

You might come cross terms such as Source Control or Revision Control instead of Version Control, but these are interchangeable terms and keep in mind that they mean one and the same thing. However, we will be sticking to Version Control System for the remainder of this course.

您可能会遇到诸如Source ControlRevision Control之类的交叉术语,而不是Version Control ,但是这些是可互换的术语,请记住,它们是同一件事。 但是,在本课程的其余部分中,我们将坚持使用版本控制系统

A collection of all the files you and your team are working on is called a Repository. It also contains some special data such as the order in which the changes occurred, the description of the change and the person responsible for that particular change.

您和您的团队正在处理的所有文件的集合称为Repository 。 它还包含一些特殊数据,例如更改发生的顺序,更改的说明以及负责该特定更改的人员。

A change in your project might take hours, days or even weeks to finish. It would be unfair to treat unfinished work as a version. You are required to tell the VCS that you are done with the change and that you wish you save it as a version so that it can track it for you. The act of telling a VCS that a version is finished is called committing. Hence, versions are often referred to as commits.

项目变更可能需要数小时,数天甚至数周才能完成。 将未完成的工作视为一个version是不公平的。 您需要告诉VCS您已完成更改,并且希望将其保存为版本,以便它可以为您跟踪。 告诉VCS版本已完成的committing称为committing 。 因此,版本通常称为commits

VCS hides the complexity of multiple commits so that your project looks clean and tidy. It does this by storing all data in folders which are marked hidden so you don't realize that they are present on your computer until you need to interact with them.

VCS隐藏了多次提交的复杂性,因此您的项目看起来干净整洁。 它通过将所有数据存储在标记为隐藏的文件夹中来实现此目的,因此,除非需要与它们进行交互,否则您不会意识到它们存在于计算机中。

But what if your repository is inside a hidden folder? This is the third major functionality of a VCS. It lets you view your project history. You can check how your project looked yesterday, a month before or even a year ago, often with a single command.

但是,如果您的存储库位于隐藏文件夹中怎么办? 这是VCS的第三个主要功能。 它使您可以查看项目历史记录。 您可以使用单个命令检查项目的昨天,一个月甚至一年前的外观。

They also let you share your repository with your other team members so that collaboration is easy. Developers often work together on a single project and VCS just makes it easier for them.

他们还使您可以与其他团队成员共享存储库,从而使协作变得容易。 开发人员经常在一个项目上一起工作,而VCS使其变得更容易。

So now let's understand why we use Git. There are a lot of Version Control Systems available, but Git is among the most popular. Let's see why!

现在让我们了解为什么要使用Git 。 有很多版本控制系统可用,但是Git是最受欢迎的版本控制系统之一。 让我们看看为什么!

翻译自: https://www.studytonight.com/github/vcs-in-git

git中vcs中git插件

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值