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

github入门操作

时间:2016-06-24 00:03:52      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:

更新github上的已有项目:

  将repository clone到本地

shanyu@debian:~/Git$ git clone https://github.com/xunbu7/HelloWorld.git

  添加py.md文件并提交

shanyu@debian:~/Git/HelloWorld$ touch py.md
shanyu@debian:~/Git/HelloWorld$ git add py.md
shanyu@debian:~/Git/HelloWorld$ git commit -m "py"

  向GitHub推送,完成版本库初始化。

shanyu@debian:~/Git/HelloWorld$ git push origin master
//输入的用户名密码为github用户的用户名密码 Username
for https://github.com: xunbu7@gmail.com Password for https://xunbu7@gmail.com@github.com:

 

github入门操作

标签:

原文地址:http://www.cnblogs.com/xunbu7/p/5612537.html

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