How to upload your own code/project to your own GitHub warehouse

Source: Internet
Author: User
Tags git client git shell

Create a new git repository

set up a new warehouse

after the creation is completecopy git addressThere is now a window git client (address:https://desktop.github.com/), but it is still recommended to use the GIT command line (after the client download is complete, there are steps to explain the non-command-line mode for quick instructions) this button on the download page is available for download

here is the command line mode after you install the GIT client, you can set theset the default terminal for Git bash, you can also do not set, see a person likes, installed after not set the words of my win10 is PowerShellthen open the git shelland then it's the directory you want.For example, my switch to the directory of your own settings, and then clone the new directory you created on GitHub just before you startedafter successthen you can continue to copy the things you want to upload to your local git folder, as below, my readme file has been modified a bitthen go back to the terminal and execute the following command to upload the file.after uploading successfullyIf you need to merge the contents of the new branch onto the master branch, you can execute the following statementand then the master will have it. Delete a git repository (own)pull to the end of the page cannot be rolled back after deletion, enter the name of the warehouse to confirm the deletion 

How to upload your own code/project to your own GitHub warehouse

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.