码迷,mamicode.com
首页 > 系统相关 > 详细

git简明教程-linux

时间:2017-03-25 00:48:32      阅读:267      评论:0      收藏:0      [点我收藏+]

标签:rsa   初始化   lin   git init   hub   ssh   linux   .com   存在   

1:初始化版本库

  git init

2:克隆仓库

  本地:git clone

  远程:

    --SSH协议,先添加公钥到github中,存在于/etc/ssh/ssh_host_rsa_key.pub中;

    git clone git@github.com:OuFeng/JF_WEB.git 

    

    --https协议,直接克隆。

    git clone https://github.com/OuFeng/JF_WEB.git

git简明教程-linux

标签:rsa   初始化   lin   git init   hub   ssh   linux   .com   存在   

原文地址:http://www.cnblogs.com/oufeng/p/6614042.html

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