首页 > 其他 > 详细

github入门操作

时间:2016-06-24 00:01:44      阅读:269      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!