简体   繁体   English

对于Git和Github,fork,master,origin,push,pull这两个术语是什么意思?

[英]What do the terms fork, master, origin, push, pull mean for Git and Github?

What are the differences between the terms: 这些术语之间有什么区别:

  • trunk / branch / merge / check in/out (which I know from other VCS) trunk / branch / merge / check in / out(我从其他VCS知道)
  • fork, master, origin, push, pull, etc. (used by Git) fork,master,origin,push,pull等(由Git使用)

阅读本文: http//git.or.cz/course/svn.html

This first thing that is important to understand about Git is that it thinks about version control very differently than Subversion or Perforce or whatever SCM you may be used to. 首先要了解Git的一点是,它认为版本控制与Subversion或Perforce或者您可能习惯的SCM有很大不同。 It is often easier to learn Git by trying to forget your assumptions about how version control works and try to think about it in the Git way. 通过尝试忘记关于版本控制如何工作的假设并尝试以Git方式思考它来学习Git通常更容易。

-- http://gitref.org/ - http://gitref.org/

This could have been googled. 这可能是谷歌搜索。 I guess that is why someone -ve repped the question. 我猜这就是为什么有人 - 回答了这个问题。 I googled "Git Glossary" and this was the first result - 我用谷歌搜索了“Git词汇表”,这是第一个结果 -

http://www.kernel.org/pub/software/scm/git/docs/gitglossary.html http://www.kernel.org/pub/software/scm/git/docs/gitglossary.html

It explains most of what you are asking. 它解释了你所问的大部分内容。

http://ndpsoftware.com/git-cheatsheet.html is a great reference too. http://ndpsoftware.com/git-cheatsheet.html也是一个很好的参考。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM