Http://www.cnblogs.com/xiaogangqq123/archive/2012/03/19/2405805.html
What is Git?
Git is a free, open-source, distributed version control system. Designed to handle any software engineering, regardless of size, quickly and efficiently.
Each git clone is a full file repository with full history and revision tracking capabilities, independent of the network connection or hub server. Its greatest feature is that the "branch" and "merge" operations are fast and easy.
Git advantage
The biggest advantage of Git is "fast"! For large joint development projects, version control management with SVN is slow, but it is much faster with Git.
One of the biggest advantages of git is that it supports distributed development.
Basically SVN has all the features git has, and no less.
How to use Git
Using git requires a hosting account: the registered address. Https://github.com/signup/free
Installation of Tortoisegit
Before you install Tortoisegit (http://code.google.com/p/tortoisegit/downloads/list), you must still install Msysgit on your Windows PC (HTTP/ Code.google.com/p/msysgit/downloads/list). Because this program provides the Git core. And the installation sequence is: install Msysgit First, then install Tortoisegit. If you do, you have to go to the Tortoisegit Settings screen (right-click Tortoisegit, Settings, Msysgit, General--), manually specify the location of the Git core file (example such as C:\Program Files\git\bin).
Installation steps nothing to say, I use the default installation.
Before configuring, we need to generate a key, that is, using SSH, or using Gihub login authentication. That is, you will be prompted for the user name and password after each push.
This is the first way to use SSH.
Locate Puttygen under the Tortoisegit installation directory. This is a tool for generating keys.
You can refer to this article to set up http://rongjih.blog.163.com/blog/static/335744612010619111042465/
Then click SSH Public keys--"Add another public key in GitHub's personal account settings"
Add a new key, which is the public key generated with Puttygen.
Then open tortoisegit–>settings.
Git.exe is configured with Msysgit path:
To set up a git account, Signing key is the public key that you just saved in your GitHub account settings
Remote This is a name, you can do what you know.
URL: Is the library you created on GitHub.
If you set up a similar [email protected]:xxx/xxx.git, you must use SSH mode.
If you set it to Https://[email protected]/xxx/xxx.git you must use HTTP, which means push and pull with a username and password.
Putty is the private key that was just exported.
You can then find a folder to create the repository.
Roughly the same operation as SVN.
It is important to note that each commit must be filled in with a message.
Category: "Accessibility" good text to top concern my collection of the Wen Xiaogang QQ
Follow-6
Fan-103 use Inno Setup to package. NET program and automatically installs the. NET FRAMEWORKWPF DataGrid-style shared SQL Server mirroring feature to fully implement MongoDB from configuration to Application
git Beginner's tutorial (GO)