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

git学习笔记之远程仓库操作

时间:2016-02-17 10:55:58      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:

在本地建立好git仓库之后,怎样将项目发布到远程仓库。步骤如下:

1,首先在https://github.com注册账户;

2,然后创建create repository(建立仓库);

3,给项目添加本地仓库:git remote add origin ‘https://github.com/username/repositoryname.git‘;

4,将本地项目推送到远程仓库:git push origin master

git学习笔记之远程仓库操作

标签:

原文地址:http://www.cnblogs.com/startDream/p/5194549.html

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