码迷,mamicode.com
首页 > 其他好文 > 详细

Git用法

时间:2014-10-20 02:18:07      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:http   os   sp   on   ad   bs   as   .net   用户   

1、 git init

2、 git remote add origin https://git.oschina.net/hongweizhiyuan/xxxxxx.git

3、 git add --all

4、 git commit -m "update"

5、 git pull origin master  (如果报错,输入它)

6、 git push origin master  (然后输入用户名和密码即可上传!)

Git用法

标签:http   os   sp   on   ad   bs   as   .net   用户   

原文地址:http://my.oschina.net/54programmer/blog/335232

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!