码迷,mamicode.com
首页 > Web开发 > 详细

github上传代码

时间:2017-06-18 20:50:25      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:com   tor   https   push   repos   hub   commit   引号   first   

1:在github上生成新的repositories

2:将仓库克隆到本地 git clone  https://

3:到本地的文件中,加入需要上传的文件

4: git add .

5:git commit -m "first commit"(双引号是对这次作更改的解释)

6:git push 需要输入 用户名和密码

github上传代码

标签:com   tor   https   push   repos   hub   commit   引号   first   

原文地址:http://www.cnblogs.com/yxxx/p/7045110.html

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