Using Tortoisegit to access Git@oschina

Source: Internet
Author: User

First of all, if you want to use Git@oschina, you must have git on your computer: You can get the Git.exe from Google http://git-scm.com/, of course, if you can skillfully manipulate git through the command line, then this tool is completely enough for you to use. Of course, if that is the case, the great God will not have to read this blog.

Then we began to build a bridge between local and Git@osc.

First, use Puttygen to generate the key public key

After running click Generate, create the key (will wait for some time) to save the public key and the private key.

Then you can go into http://git.oschina.net/keys/new, add your own public key,

At this point, you can create a project in Git@oschina, copy the project address, select a directory of synchronized items locally on your computer, preferably empty, and then right-click: Create a version library here, do not tick, OK.

Then right button, tortoisegit-->setting

The remote is automatically generated, the URL is the copied Git@oschina Putty key is the local private key

After the setup is complete, go back to the directory of the synchronized items, right, pull, and you can pull the remote code to the local

Then right-click menu: Git submits->master, write comment, point OK

Finally right button menu:tortoisegit-> push, direct point OK

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.