in Windows, use the Git command method as follows (take Win7 as an example):1, Msysgit is the Windows version of Git can Baidu search git download. 2. After the installation is complete, the Start menu found "git", "Git Bash" to open git. 3, Registered user information: First configure your user information git command. $ git config--global user.name "Your name"$ git config--global user.email "[email protected]"4. After the configuration is complete, use git config--list to view the configured user information,5. Create a repository $ CD D: and CD mygit into the new git directory (what is the repository?). Repository also known as the Warehouse, English name repository, you can simply understand a directory)6. $ mkdir Project # To create projects directory, CD project # into the project directory.7. Git init # initializes the Git repository. This command creates a new. Git directory in the current directory that stores information about the Git repository and turns it into a repository that git can manage.8, the above is git to create a repository operation method
http://blog.csdn.net/u013288190/article/details/52740610 |
How can I use git commands in Windows