首页 > 其他 > 详细

git

时间:2014-09-02 01:33:03      阅读:218      评论:0      收藏:0      [点我收藏+]

Create a new repository on the command line

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/pengfeis/try-git.gitgit push -u origin master


Push an existing repository from the command line

git remote add origin https://github.com/pengfeis/try-git.git
git push -u origin master

 

git

原文:http://www.cnblogs.com/peng-fei/p/3950596.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!