1, first download and install git, Easy to manage the code on GitHub
Https://git-scm.com/downloads
2. Then click on the installed GIT bash (sign up for your github)
git config--global user.name "account name"
git config--global user.email "mailbox"
3, then need your secret key ssh
Ssh-keygen-t rsa-c "email"
Enter the end of a certain point to enter the good, no Tube.
And then find the file in the folder with the hint in it with a secret key file.
4, Open github, Enter settings: the SSH key to create a secret key to copy the contents of the secret key file, just change the name
5, After you test the connection is not (if your user name is Ok)
Ssh-t [email protected]
6. Create a warehouse in github, get the URL or secret key, and then CD into your local folder
Git init
Git remote add origin you copy the address
The above link has been completed!
Next do not need to know too much, need to upload and download just fine!
1. All downloads to Local
Git pull Origin Master
2, all uploaded to the warehouse
(1) submitted to Staging area
Git Add.
(2) Description of Upload
git commit-m "commit notes"
(3) last uploaded to the server
Git push Origin Master
Git+github Upload and manage