Getting started with GitHub upload a local project--notes

Source: Internet
Author: User

1. Create a remote library repository

You can see the creation code:

// Turn this directory into a repository that git can manage // add files to the warehouse //  "Firstcommit"// submit file to warehouse // associated remote repository // push all the contents of the local library to the remote library

2. Set Account SSH key

If you do not have these three files, you must first enter

$ ssh-keygen-t rsa-c "[email protected]163[email protected]163//ssh and-keygen no space between, Otherwise, bad escape character ' Ygen ' error will occur

Add the resulting id_rsa.pub public key to the remote library

Note: If a permission denied error occurs, SSH error may be

3. Upload a local project via the above command-line operation

Reference article: http://www.cnblogs.com/specter45/p/github.html

Getting started with GitHub upload a local project--notes

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.