preface
I web small white, recently want to progress a little faster, hereby if the big family of blog, welcome everyone to give advice to each other, ok, agreed 3 minutes upload to Github, start ~
The first step
- First of all, you should have a Github. If you don’t have a Github, you should register it
- Configure your local github association
$git config –global user.name “your name
$git config –global user.email “[email protected]
- Create SSH ssh-keygen -t rsa -c “[email protected]” and press enter. Copy github Setting/SSH key /add new SSH key
- To verify success, type $SSH -t [email protected] under git bash
- New project repository New Re on Github
- Start uploading: Right-click git bush in the folder you want to upload
Git commit -m “desctription” // Create a new project copy URL on Github
Git remote add origin https://github.com/a1047050321/commentManage.git (HTTPS) git push -u origin master uploaded to the remote server //-u can be removed after the first upload to an empty project