github 上传下载代码简单使用

很长时间,一直认为github很难操作,其实认真学了发现也不是很困难。
主要就3个命令 git clone 建立空间 git push 提交代码,git pull拉取代码。

git clone http:// 建立工作空间
git status 查看状态

git add -A 添加文件
git status

git commit -m 'commit' 合并文件还没上传到github

git push 提交代码

git pull 拉取代码

posted @ 2016-04-27 00:42  IT-caijw  阅读(204)  评论(0编辑  收藏  举报