Upload code to GitHub on Windows

Source: Internet
Author: User

Repository Name: Warehouse name Description (optional): Warehouse Description Introduction Public, Private: Warehouse permissions (publicly shared, private or designated collaborators) Initialize this Repository with a README : Add a Readme.mdgitignore: A repository type that does not need to be versioned, corresponding to the build file. Gitignorelicense: Certificate type, corresponding makefile license

First step: Build your own github library and copy the warehouse address.

Step two install GitHub for Windows client

If you have previously installed git successfully, the right button will have two new options for git Gui here,git bash here, where we choose Git bash here and go to the following interface, TEST_IOPDI is my project name.

The third step is to execute git clone https://github.com/51042309/test_iocdi.git (the first step you copy the address)

Fourth Step into the TEST_IOCDI folder

Fifth step to execute the git command

1 git Add.  (Note the following.) This action is required to add the files under the Wordtopdf folder)

2 git commit-m "project folder name" (I'm wordtopdf here, so this is git commit-m "wordtopdf"

3 Git push-u Origin master (this action is to commit the project to the master branch on Git)

You will be prompted to enter your account number and password during this operation.

Wait for the upload to succeed and refresh the GitHub repository.

Upload code to GitHub on Windows

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.