I have described the use of GIT tools under Windows to download Android source code, Windows environment through Git to get the Android source code, here I use the Git tool to manage my own code, Git is a distributed project management tool and CVS and SVN are centralized version number control system centralized version number control system The biggest problem is the need for networking talent, distributed version number control system does not have a "central server", each person's computer is a complete version number library, so , you don't need to be networked when you work, because the version number is on your own computer. Distributed and centralized through the following two graphs will be clear point
When you want to use very many Linux/unix tools under Windows, you need to cygwin this kind of simulation environment, GIT is the same. Cygwin installation and configuration are more complex, it is not recommended that you toss. It's just that. An expert has already packaged the simulation environment and git, called Msysgit. Just need to download a separate EXE installer, and nothing else to install. Absolutely usable.
Msysgit is a Windows version of Git, downloaded from http://msysgit.github.io/. Then press the default option to install it.
Start git as specified after installation
can also right-click to start
such as the following interface appears. The instructions were successfully installed
Setting a global git configuration after successful installation
$ git config--global user.name "Your name" $ git config--global user.email "[Email protected]"
Create a folder under the appropriate path to manage the version number library
Initialize the version number Library folder: Git init
Create a new "Readme.txt" file with content such as the following
Git is a version control system. Git is free software.
Add the "Readme.txt" file to the repository: Git add readme.txt
Git commit tells Git to commit the file to the repository: Git commit-m "wrote a Readme file" can add multiple times, and finally commit
GIT website: http://git-scm.com/
Here is more specific: http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000
References:
1.http://rubynroll.iteye.com/blog/203133
Manage your Android code with git in Windows environment