GitHub's new warehouse, upload code, preview link, delete warehouse

Source: Internet
Author: User

In the process of using GitHub, there is always a sudden forget the once very familiar command how suddenly will not write ... Here to organize a copy, easy to review.

Create a new warehouse first:

This allows us to create a new remote repository on GitHub and then pass the local code to the remote repository. Locate the local folder, and then execute the following command in the folder in turn.

-M "First"git remote add origin [email protected]:github username /repository name Git push-u origin master   //  If we choose to create a new readme, there will be an error execution: Git pull Origin Master is submitted again. 

Get Preview Link

Found under Settings:

With the master branch selected, a link is generated:

Just add your page name to the back.

Next, delete the warehouse:

The same is the settings below:

In this way, the warehouse is deleted.

GitHub's new warehouse, upload code, preview link, delete 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.