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

git

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

标签:style   blog   http   color   os   div   log   sp   on   

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

标签:style   blog   http   color   os   div   log   sp   on   

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

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