How Linux installs and uses GitHub

Source: Internet
Author: User

steps for Linux installation using GitHub

1. Register the account in the website, create the project test to enter the project, the bottom right corner will have a project warehouse address.

2.Linux installation of GitHub

sudo apt-get install git git-core git-doc

3. Create RSA Public key

Ssh-keygen-t rsa-c "Your_email@youremail.com"

The whole process has a password to fill.

Then go to the ~/.ssh directory and find the public key id_rsa.pub

Notepad to open the copied text

Enter the settings in github.com, find the PubKey option, and fill in the public key.

Fill out a proposition casually

4. Set up account information

git config--global user.name "Lukeyan"

git config--global user.email xxx@gmail.com

5. Test Link:

If you have ' ve successfully authenticated, but GitHub does not provide shell access. This means that the link is already

Next upload:

Git init

git Add. #如果是. To upload a file in all the directories, can be a file

Git commit-m ' version 1.0 '

Git remote add origin https://github.com/username/test.git

Git push Origin master-f

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.