How to upload a local project to github

Reprinted from: http://blog.csdn.net/hanhailong726188/article/details/46738929

 

Create a git project. . . git init git add . git commit -m ""    

 Then create your own name on the github website to keep it as consistent as possible.

 

Copy the address out git remote add origin https://github.com/hanhailong/CustomRatingBar

 

Step 6: Before uploading to github, pull it first and execute the following command:

 

git pull origin master

 

git push -u origin master

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326664394&siteId=291194637