GitHub upload Steps

Source: Internet
Author: User

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/userName/File.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.

Httprequestexception encountered problem when connecting to GitHub in step 4th

FIX: Github disables TLS v1.0 and v1.1 and must update the Windows Git Credential Manager
Through this URL https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/

Install the restart Git window after download
$ git Remote add Origin https://github.com/userName/File.git
Username is your username file is the repository name you built yourself
$ git Remote RM origin

It's ready!!

GitHub upload Steps

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.