分为以下几个步骤
1、git init
2、git remote add origin https://github.com/Glf9832/CustomScrollBar.git
3、git pull origin master
4、添加你要提交的文件到目录
5、git add .
6、git commit -m "提交说明"
7、git push origin master
Git如何远程仓库提交文件
原文:http://www.cnblogs.com/Glf9832/p/6434539.html