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