How can I use git commands in Windows

Source: Internet
Author: User
Tags git commands

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.