The local project uploaded to Github step

1, a new project on Github

2. Copy the project address

 

(If the link is not http format User can click on the upper right corner of HTTP, HTTP link can be converted into a format)

 

3, right-click the mouse click on the file you want to upload, Git Bash Here the option appears, click Git Bush Here

 

4、git clone https://github.com/yukiniconico/Vue-webapp.git 

( Https://github.com/yukiniconico/Vue-webapp.git is just copied the link)

 

 

5, this time there will be a local project folder (the folder name is the name of the new project on GitHub), copy the file to be uploaded to this folder

 

6, cd-view webapp

(Vue-webapp is the file name of the folder that appears, the purpose here is to enter into this folder operations)

 

7、git add .

(Note that this sure to leave a space, or will be error)

8、git commit -m "design idea"

(Design idea here is that the information they described, can easily write)

9、git push -u origin master 

 

10, git config --global user.email "registered email account."

11, git conifg --global user.name "registered name"

Here on the local file uploaded to the Github

 

Guess you like

Origin www.cnblogs.com/hxy-fighting/p/11493714.html
Recommended