首页 > Web开发 > 详细

在ubuntu上通过git上传到源代码到github网站上

时间:2017-01-14 14:47:57      阅读:294      评论:0      收藏:0      [点我收藏+]

…or create a new repository on the command line

 
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:qq2216691777/test.git
git push -u origin master

…or push an existing repository from the command line

 
git remote add origin git@github.com:qq2216691777/test.git
git push -u origin master

…or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project.


 

在ubuntu上通过git上传到源代码到github网站上

原文:http://www.cnblogs.com/ynxf/p/6285274.html

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