github本地追加上传文件夹与内容

用git上传本地文件到github,git的安装参考http://www.cnblogs.com/shiy/p/6441552.html 

 已经建好仓库,第二次添加文件,还未创建过仓库,第一次上传文件参考http://www.cnblogs.com/shiy/p/6493360.html

git pull --rebase origin master

 

git add 文件名

git add .

git commit -m "提交任务"

 

 

git push -u origin master

 

 

 

posted @ 2017-03-03 01:03  Lucky锦  阅读(343)  评论(0编辑  收藏  举报