Start by introducing Git and GitHub
Centralized Version Control Systems, referred to as CVCS
Centralized version control system
Such systems such as CVS subversion and perforce.
This type of system has a centrally managed server that keeps a modified version of all files, and co-workers connect to the server via the client, remove the latest files, or commit changes.
Distributed Version Control System, abbreviation DVCS
Distributed version control system
Such systems as Git,mercurial,bazaar and Darcs
Instead of extracting the latest version of the file, the client mirrors the entire code repository. So, any server that works together has failed, and can be recovered by any of the mirrored local repositories afterwards. Because each fetch operation is a full backup of the Code warehouse.
GitHub is an Internet-based access service for projects that use the GIT version control system. It was written by GitHub (formerly known as logical Awesome) developer Chris Wanstrath, PJ Hyett, and Tom Preston-werner using Ruby on Rails. GitHub offers both a business account and a free account for open source projects. According to a GIT user survey in 2009, GitHub is the most popular git access site.
Git is a version control tool.
GitHub is a project hosting platform that uses Git as a version control.
1, download, install git, register github;
The DMG installation files for Mac OS available from Google Code
: Http://git-osx-installer.googleco de.c OM/FILES/GIT-1.7.12-INTEL-UNIVERSAL-SNOW-LEOPARD.DMG
Install nothing to say, open the. dmg file, and then run the. pkg file, step-by-step backwards. Git will be installed in the/usr/local/git/bin directory.
Registering for GitHub is also very easy, choose a free open source account type and step through the process.
(Note: Git has no graphical interface, Git won ' t add an icon to your dock, it's not that sort of application.)
This step can be referred to the official documentation. Link: https://help.gith ub.c om/articles/set-up-git
Next open the terminal (do not know where the terminal, directly in the Spotlight search terminal):
$CD ~/.ssh//Check if SSH is already present
Ssh-keygen-t rsa-c "Your mailbox @xxx.com"//After all the way to enter
Prompt for "No such file or directory" when configured
Execution: mkdir ~/.ssh just fine.
The next step is to use the
Refer to the official tutorials:
https://github.com/
Reference Links:
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
GitHub installation and Usage tutorials under Mac