Use tortoisegit to access git @ oschina

Source: Internet
Author: User

Next let's take a look at how to use tortoisegit to access git @ oschina. I hope the article will help you.

First, if you want to use git @ oschina, you must first have the git tool on your computer: You can get the Google repository's git.exe http://git-scm.com from here/Of course, if you are skilled in operating git through command lines, this tool is enough for you to use. Of course, if that is the case, you do not need to read this blog. So I recommend that you download another tortoisegit http://code.google.com/p/tortoisegit/ (you need to install git first and install tortoisegit ).

Next we will start to build a local bridge with Git @ OSC.


First, use puttygen to generate the key public key

After running the command, click generate to create the key (wait for a while) and save the public key and private key.

At this time, you can enter the public key of http://git.oschina.net/keys/new,

Now you can create a project in git @ oschina, copy the Project address, and select a local directory of the synchronization project on the computer, preferably empty, right-click: Create a version library here, do not select. OK.

Right-click tortoisegit --> setting

 

The remote end is automatically generated, and the URL is the copied git @ oschina putty key, which is the local private key.

 

After the configuration is complete, return to the synchronization project directory, right-click, pull, and you can pull the remote code to the local device.

Right-click the menu: Git submit-> master, write comments, and click OK.

Right-click TortoiseGit and choose push. Click 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.