git add   --添加

git commit -m "备注"  --提交

git status  --查看状态

git remote origin git@github.com:Gengshaoxuan/XXX.git  -- 关联远程库

git push -u origin master --提交到主分支

git log -- 查看日志

注意提交的时候不能提交空文件夹

posted on 2017-12-15 11:52  小耿二哥  阅读(186)  评论(0)    收藏  举报