Git Learning Journey (vi)--github remote server

Source: Internet
Author: User
Tags using git

GitHub is a free git server that can find many open source projects
Official website: www.github.com
after registering your account, go to the homepage


Click on the icon in the upper left corner to access the homepage, see 4 Help documents, click on the first document set up Git

The main is to use SSH key to manage editing permissions, in the last extension of the second chapter has introduced the use of SSH, according to the above documents can paste the public key to the new key, then the local permissions are submitted to GitHub.



you can find the button to create a new warehouse in 2 places on the homepage and click on the following page
    1. The name of the warehouse. will automatically add a. git suffix
    2. Description information
    3. Public or private. Public free, non-public cost
    4. The Readme file is generally a repository document
    5. . Gitignore is an ignored file that has been introduced before

Click on the green Create key after setting up to finish creating

After the prompt message, submit the first example before the warehouse sample, because the local has completed the initial chemical made, all directly submitted

    • CD ~/user1/sample
    • git push [email protected]:tinmok/sample.git master

Git push-u represents the submission to the server and sets the default submission path for this branch, which is then committed to the remote branch after setup using git push

Refresh the page to see the warehouse files and logs

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Git Learning Journey (vi)--github remote server

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.