标签: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
标签:rsa 初始化 lin git init hub ssh linux .com 存在
原文地址:http://www.cnblogs.com/oufeng/p/6614042.html