git 上传本地代码到github 服务器

git init  

git add . (所有文件用 点表示)

git commit -m "注释语句"

git remote add origin https://github.com/hanhailong/CustomRatingBar (你的github 项目地址)

git push origin master

原文地址:https://www.cnblogs.com/lh460795/p/7483469.html