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

git_远程仓库

时间:2018-05-07 17:39:19      阅读:125      评论:0      收藏:0      [点我收藏+]

标签:add   仓库   dem   ash   远程仓库   highlight   com   hub   remote   

# git_远程仓库
 
# 命令举例:
    # 1.推送本地到远程库,最开始要输入的两行命令:
        $ git remote add origin git@github.com:Clausding/demo.git
        $ git push -u origin master
    # 2.推送本地到远程库:
        $ git push origin master
    # 3.克隆远程库到本地
        $ git clone git@github.com:Clausding/demo.git

  

git_远程仓库

标签:add   仓库   dem   ash   远程仓库   highlight   com   hub   remote   

原文地址:https://www.cnblogs.com/mexding/p/9003559.html

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