Uploading local items to GitHub

Source: Internet
Author: User

Go to the local folder you want to upload, right-click Git Bash here, and then follow these steps:

1. On the command line, enter "Git init" to add the test folder to git management;

2. Enter "git Add." (Don't miss out ".") ) to add all the contents of the test folder to Git.

3. Enter "Git commit-m" first commit "" ("Git commit-m" commit message ")
4. Enter "Git remote Add origin https://github.com/shench5612390/Test.git" (Git remote add origin your own HTTPS address) to connect to your Guthub repository.
5. Enter "Git push-u origin master" and upload the project to GitHub. This will require you to enter GitHub's account password and enter it as required.

Uploading local items to GitHub

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.