Git and Tortoisegit installation tutorials

Source: Internet
Author: User

Git and tortoisegit installation process and initial testing process:

1. Download git first, url http://msysgit.github.io/

Re-download tortoisegit, URL https://code.google.com/p/tortoisegit/wiki/Download

(There is a download Chinese package, if you want to Chinese, you can download it)

2. Install git

Install the path after you choose a place, it is installed.

Check whether the installation is successful: Tap the computer to choose a location, right-click, if the advent of git init here and git bash and git GUI is a successful installation, click on the desktop of the Git bash icon appears, console, and then enter two instructions, specify the computer's user name and mailbox

git config--global user.name "user_test" #git的全局设置, set once, here set user name git config--global user.email "[email protected]< /c0> "#git的全局设置, set up once, here to set up mail

2. Installing Tortoisegit

Just install it, as if there is nothing to notice, then open the lower left corner of the menu bar, find Tortoisegit in the Puttuygen, click Generate

Then there will be a progress bar, and when it finishes, there will be an interface like this.

Then put the public key for the pasting into OpenSSH the line below all the things to Gitlab that add key position (this window do not close), the site title can be random, then back to this window, click Save Private key, save it in a place to remember.

4. Create a new empty project on the Gitlab Web, build a URL automatically after it is built, select it in HTTP format, copy the URL address, and remember the project name (for example, first)

5. Open the computer anywhere, right-click, create a new empty folder (and the project name is the same, I give the example is first), then click on it, right click inside, click Git init here, there is a. git

Hidden files, then in any location right click on the "Settings" in Tortoisegit (if the package is installed in Chinese, then the "settings") and then there is a git word in the left column, click Expand, in the click on the remote (remote) fill in the name of the one can not control it, Below is a box to fill in the URL, the previous copy of the URL to put in the good, click OK. Finally, you can create a new TXT file in the first file, placed in any location right click "Git Submit Master"

Git and Tortoisegit installation tutorials

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.