GitHub Learning Steps

Source: Internet
Author: User

Member 1: Wang Wen 201303011159

Job URL: https://github.com/1246251747/3/blob/master/jjj.txt

Experience:

1. Apply for a GitHub account. For example: Name: ss, email: xxxx;

2. Download git on git-scm.com;

3. Open git Bash when the download is complete;

4. In Git bash, enter:

$ git config--global user.name "ss".

$ git config--global user.email "xxxx".

$mkdir a file name.

$git Init

5. Set up SSH key

And then enter:

$ ssh-keygen-c "xxxx"-t RSA

Close it

After that, locate the. SSH directory in the user's home directory, locate the Id_rsa.pub file,

and open the Id_rsa.pub file, copy the content

On GitHub, open the settings in the upper right corner and open the SSH Keys page on the left side of the page that appears:

"Add SSH Key", fill in any title, paste the contents of the Id_rsa.pub file in the key text box, set the key.

6. On the GitHub website, new repository can write any name and comment.

7. Right-click to open the content file you want to save in GIT bash format and enter:

$ git init

$ git Add--all

  $  git commit-m "any"

   $ git Remote add Origin https://github.com/1246251747/ggg.git   $  git push-u Origin Master

After the success, GitHub and your local warehouse have been linked, your code has been uploaded up!

GitHub Learning Steps

Related Article

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.