In the past, all versions of self-developed projects were developed using SVN, while the company used ibm rtc. All open-source projects were developed using googlecode, and all commercial projects were built on their own computers, this blog (http://www.bkjia.com/ OS /201202/119533.html) also explains in detail how to use Apache and SVN to build servers
By accident, I got in touch with Git and really found a promising Version Control Software. below is my initial Git experience in Windows (Git is better with Linux.
1. Install Msysgit
(Http://git-scm.com/download), if not, on the Google Code above the download (http://code.google.com/p/msysgit/), installation is not much said, after the installation is successful, the desktop will have a Git Bash, in fact there is a Git GUI, however, it is recommended that you familiarize yourself with Git command before using the GUI.
2. Create Github Repository
Register Github account (https://github.com /)
On GitHub, a project corresponds to a unique Git version library. Creating a New Version library is to create a new project. Visit the Dashboard page, as shown in. You can see that one of the following version libraries is available, but your version library is zero. The "New Repository" button is displayed in the list of version libraries that are 0. Click this button to create a New version library.
Shows how to create a version Library:
We name the newly created version library "kxt-example" and the corresponding project name "kxt-example". After the creation, visit the project page, prompting that the version library has not been initialized, it also provides help on how to initialize the version library, as shown in (because my kxt-example has been initialized, the following picture is to capture another uninitialized Project)
It is necessary to set up git. This official website has already made it very clear and will not be introduced here.
Note that any GitHub user can use this URL to access this public version library, but only luffyke, creator of the version Library, has read and write permissions. Others only have read-only permissions. Before initializing the version library, it is best to first check whether the authentication is performed with the correct public key, as shown below:
3. Version library Initialization
If you create a version library from scratch, you can clone it first, create and submit data, and then initialize the GitHub version library through push. The procedure is as follows:
Clone version Library
The clone process displays a warning, but this warning can be ignored because the version library created by GitHub is a blank version library.
Create the README file.
Edit README
Add and submit the README file.
Push to GitHub to complete version library initialization.
View the homepage of the new project on GitHub. The upper half of the project homepage shows that the version library contains a new commit and files contained in the version library directory tree, as shown in.