Existing local projects on Webstorm uploaded to Github

1.Webstorm upper left corner of File - Settings-- Github, Auth Type change password, enter your github account and password in the Login and Password, tap Test to test whether the connection is successful

2. As shown for the successful connection

3. Set Git, Git find the setting where, to Git executable set the installation directory Path, Point Test to test whether the connection is successful

 

4. Since the transmission between the local repository GitHub Git repository and encrypted by SSH, it is necessary to configure the authentication information. The need to obtain local ssh, copied to github account of ssh, the role of SSH is to enable local and remote repository repository communication, that is, we modify the good code locally, need to be synchronized to the server when you need this SSH key to communication.

        First, get local git ssh, open git bash, enter ssh-keygen -t rsa -C "your email" Once you have entered need to press Enter three times, to appear c: \ users (user) \ xxx (username) \ .ssh file, open the file id_rsa.pub to find (you can use Notepad), copy the entire contents

5. Log on Github, head in the upper right corner of Settiing, then click on the list on the left of SSH and GPG keys, click on the upper right corner of New SSH key, just copy the contents of the pasted point add SSH key added successfully

 

6. Open the project to be uploaded in Webstorm, the point VCS -> Import into Version Control -> share project on Github

7. Modify the name to the warehouse, it is careful not to Github existing warehouse, set up a good point share, wait a minute to upload a success

 

Guess you like

Origin www.cnblogs.com/xingxyx/p/11019366.html