Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Git tutorial


May 25, 2021 Git


Table of contents


Git tutorial

Git tutorial

Git is an open source distributed version control system for agile and efficient handling of any small or large project.

Git is an open source version control software developed by Linus Torvalds to help manage Linux kernel development.

Git, unlike commonly used version control tools such as CVS and Subversion, uses a distributed repository approach that does not require server-side software support.


Git is different from SVN

GIT is not only a version control system, it is also a content management system (CMS), work management system and so on.

If you are a person with an SVN background, you need to do some thought conversion to adapt to some of the concepts and features that GIT provides.

Git differs from SVN:

  • 1, GIT is distributed, SVN is not: this is GIT and other non-distributed version control systems, such as SVN, CVS, etc., the most core difference.

  • 2, GIT content is stored in metadata, and SVN is by file: all resource control systems hide the meta-information of files in a folder similar to .svn, .cvs, etc.

  • 3, GIT branch and SVN branch is different: branch in SVN is not special, is another directory in the repository.

  • 4, GIT does not have a global version number, and SVN has: so far this is compared to SVN GIT missing the largest feature.

  • 5, GIT content integrity is better than SVN:GIT content storage is using SHA-1 hash algorithm. This ensures the integrity of the code content and reduces damage to the repository in the event of disk failures and network problems.


Get started with Git

This site also offers a quick start version of Git, which you can click on Git's concise guide to see.

After getting started, it is recommended that you take the Git tutorial in more detail from this site.

Git Full Command Manual Address: http://git-scm.com/docs

PDF Command Manual: github-git-cheat-sheet.pdf


Related articles are recommended