The difference between Git, Github, Gitlab of

Git is a version control system, Github is an online-based code hosting service in Git. GitHub is written in 2008 by the Ruby on Rails. GitHub also provides free accounts and paid accounts. Both accounts can create a public code repository, Only paid account can create proprietary code repository. Gitlab solve this problem, you can create a free private repo on it.
Git Introduction

Git is a distributed version control system open source, for quick and efficient handling of any small or large projects.

Git is Linus Torvalds To help manage Linux kernel development and the development of an open source version control software.

Git and commonly used version control tools CVS, Subversion and so different, it uses a distributed repository way, do not support server-side software.

Git and SVN difference

GIT is not just a version control system, it is also a content management system (CMS), work management systems.

If you are a person with a background of using SVN, you need to do certain ideological conversion, to adapt some of the concepts and features provided by GIT.

Git and SVN point of difference:

  • 1, GIT is distributed, SVN is not: This is the GIT and other non-distributed version control systems such as SVN, CVS, etc., the core difference.
  • 2, GIT content according to the metadata stored, and SVN is by file: All resource control systems are the meta-information files hidden in a similar .svn, .cvs other folder.
  • 3, GIT and SVN branch different branches: the branch that is not particularly in SVN, is another of a directory in the repository.
  • 4, GIT does not have a global version number, and SVN are: So far this is compared with the SVN GIT missing one of the biggest features.
  • 5, GIT content integrity is superior to SVN: content storage using GIT is SHA-1 hash algorithm. This ensures the integrity of the content of the code, make sure to reduce damage to the repository in the event of disk failure and network problems.

git workflow:

  The general workflow is as follows:

  • Git clone resources as a working directory.
  • Add or modify files on resources clones.
  • If someone else changed, you can update the resource.
  • Check changes before submission.
  • Submitted.
  • After modifications are complete, if an error is found, you can withdraw and submit revised and submitted again.

      Git workflow diagram:

The difference between Git, Github, Gitlab of

Guess you like

Origin blog.51cto.com/14285333/2413978