First you need to register GitHub account, the specific method of Baidu/Google.
Open Webstorm, I use the 2016.2.4 version (if you have Edu mailbox, you can use for free for one year, not just webstorm,jetbrains family barrels can), open file-setting, search keyword git
Have to praise this search function, save a lot of things O (* ̄▽ ̄*) O4.
For example, find GitHub, enter your account password, click Test, and Tip connection successful, stating that you are connected to GitHub.
Next, find Git on the left, find the installation path for GIT, click Test, and see successfully as a success.
Only need to get local sshkey, copy to GitHub's Sshkey.
Open git bash, enter ssh-keygen-t rsa-c "GitHub registered mailbox"
Find C:\Users\ username \.ssh\id_rsa.pub, open with Notepad, for example, CTRL + A Select all, copy.
Go to GitHub and click on the setting in the top right corner of the Avatar list to find the SSH and GPG keys on the left and fill it in.
Then go back to Webstorm and find the VCs on the menu bar
The interface will pop up, enter your GitHub repositories address, click Clone, note that if you have a folder with the same name in your parent directory, cloning will fail!
Then find this green button in the upper right corner and submit the code.
Select Commit and Push
Then a box will pop up, where you want to select the last branch
Finally, there will be a progress bar at the bottom of the webstorm, if you submit a progress bar delay or failure, please first greet the Damned GFW, and then set up a ladder ╮(╯▽╰)╭
Uploading code to GitHub via Webstorm