Use Tortoisegit (Little Turtle) to upload items to the GitHub website

Source: Internet
Author: User

Get ready
    • 1. Have a GitHub account
    • 2. Installation of Tortoisegit (small turtle)
Process one, build a new warehouse on GitHub
    • Make a good warehouse name, fill in the description, select Java in the Add. Gitgnore (write according to your own needs)

    • Make a copy of the address of the warehouse after you've built it (use it later)

Ii. Creating a Repository (warehouse) on disk
    • Right-click Git to create a repository here

    • Are you sure

    • Are you sure

Look again at the current folder, there are already green hooks.

The following is a hidden. Git folder

Third, set
    • Right-click, Tortorisegit---set

    • Are you sure

    • Fill in git first. This point "global" fill out (the information here seems to be useless, before I set a, now I replaced the following information)

    • Then fill in the appropriate information at the far end. Note: The origin of this place at present I also look at others so fill this, do not know what meaning, also do not know whether can change . The URL is just copied; the push URL does not have to be written; Putty choose the PPK file to save the key.
Click Add/Save to pop out of this dialog point "no"

Iv. Pull

Note: What is pull? Why pull? --and I don't know, yes.

    • Right-click,toroisegit--> Pull

    • Are you sure

    • Are you sure

V. Edit the Readme.md file

Note: I don't know what to do with this step.

    • Create a readme.md file

    • Fill in the following content

Vi. Submission of
    • Right-click Git commit, "master" ...

    • Write a comment and tick the file you want to submit

    • Are you sure

Seven, push to send
    • Right-click, tortoisegit and push

    • Then pop up the dialog box to fill in the GitHub account and password, and then fill in, and then click OK.

    • Shut down

To the GitHub site, you can see that the local repository Ssh_demo is synchronized.

Viii. Uploading projects

What if you want to put a project into this warehouse and upload it to GitHub? Just copy the project to this repository, then submit it and pull it.

Note: This step can of course be submitted together in the sixth step and pushed to GitHub.

    • Submit

    • Push

Take a look at the GitHub website.

Use Tortoisegit (Little Turtle) to upload items to the GitHub website

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.