Tortoisegit uploading project code to GitHub method

Source: Internet
Author: User

GitHub is a very large number of developers of our project code version management site, project hosting can be private or public, private charges, one months $7. Here we only say that our personal use of the code is generally open to the outside; Ok,let's Get started!

attention: Be sure to follow the steps below step by step!

Step1: Make sure the local already installed tortoisegit first, no words to tortoisegit official website download tortoisegit, address http://download.tortoisegit.org/tgit/;

Step2: After installation, we first use Tortoisegit to generate SSH locally, go to ' start ', find git double-click Puttygen, we want to generate the key, this is waiting to configure the key on GitHub (SSH):

Step3: Click Generate generate key, when generating the key, remember the mouse to keep moving under the progress bar, otherwise, the progress will be stuck, generated after the click on the Save private key, select ' Yes ', save to a folder you are familiar with, do not close the pop-up window after saving, the following will be used:

Step4: Login to your github account (no?) to the GitHub website. https://github.com/Register one), click Settings to enter the Settings page:

STEP5: This time add SSH key, title customization, key is the tool generated by the key, and then click Add SSH key:

STEP6: Create a new repository, fill in the Repository name and description:

STEP7: Jump After creating the warehouse:

STEP8: Right-click Git Clone in the blank of the desktop, download your project code from GitHub, URL is SSH (project address), directory is Local:

STEP9: Create a new file, etc will be submitted to GitHub (fast success, is not very excited, haha):

STEP10: In the current directory, right-click Git commit, the commit has merged the new features together, whether it is new or modified direct Commit:

Note that a push is required, and the commit is submitted to the local only, and is not committed to the remote server.

STEP11: Upload code success, go, go to GitHub to see:

Tortoisegit uploading project code to GitHub method (go)

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.