Topic: Importing a local project to GitHub using the Git tool
Description
Create a project on the GitHub site, create a project in the IDE on your local computer
Two site projects are piloted into the local computer
Three upload local items to the website
The detailed procedure is as follows:
Step One: Create a project on the GitHub website
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/86/4F/wKioL1e71ZrBitCPAAAZjPlU8So563.png "title=" 2016-08-22_203150.png "alt=" Wkiol1e71zrbitcpaaazjplu8so563.png "/>
Step Two: Open the project
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/86/50/wKiom1e710GiBRGgAAANEQZBI2U199.png "title=" 2016-08-22_204258.png "alt=" Wkiom1e710gibrggaaaneqzbi2u199.png "/>
Step three: Copy the address of the project
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/86/51/wKiom1e766TyT9xYAABiDtdmyJI694.png "title=" 2016-08-22_210525.png "alt=" Wkiom1e766tyt9xyaabidtdmyji694.png "/>
Step four: Create a new folder on your local computer, in the new folder, right-click the pop-up menu and choose Git Bash here
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/86/50/wKioL1e767rx3YJdAAASIMKEVyw254.png-wh_500x0-wm_3 -wmp_4-s_3350930315.png "title=" 2016-08-22_212059.png "alt=" Wkiol1e767rx3yjdaaasimkevyw254.png-wh_50 "/>
Step five: Enter the GIT clone project address
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/86/51/wKiom1e769mgqr0fAABg0YQ7FaI879.png "title=" 2016-08-22_213042.png "alt=" Wkiom1e769mgqr0faabg0yq7fai879.png "/>
Step six: In the local computer use the IDE to create the project, and set the project's storage path to the project in the folder of step three
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/86/51/wKiom1e77P2DzDl1AAB07PsBuoU012.png "title=" 2016-08-22_221303.png "alt=" Wkiom1e77p2dzdl1aab07psbuou012.png "/>
Step Seven: Find the folder location of the step six project, click on the folder and right-click the popup menu and choose Git Gui here
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/86/53/wKioL1e79d3zcy-LAAAcDuCa-ZY741.png "title=" 2016-08-23_143341.png "alt=" Wkiol1e79d3zcy-laaacduca-zy741.png "/>
Step eight: In the Commit Message (text box): Provide comments explaining the following items. Then click Commit
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/86/53/wKioL1e79pHC844OAADYonW6vCI482.png "title=" 2016-08-23_150833.png "alt=" Wkiol1e79phc844oaadyonw6vci482.png "/>
Step nine: Go back to the GitHub project, refresh the site, and if the local project appears on the GitHub project, the upload is successful.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/86/53/wKioL1e79v2TPmWaAABGZFkVBDI263.png "title=" 2016-08-23_151016.png "alt=" Wkiol1e79v2tpmwaaabgzfkvbdi263.png "/>
This article is from the "Wind Horse Clan" blog, please be sure to keep this source http://sowsceo.blog.51cto.com/10841772/1841538
Example methods for uploading local projects to GitHub