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