标签:远程仓库 hub email use rsa xxx 生成 仓库 conf
使用git拉文件yum install git
git config --global user.name "xxx"
git config --global user.email "xxx@163.com"
生成秘钥对
ssh-keygen -t rsa -C "your_email@youremail.com"
cat ~/.ssh/id_rsa.pub
添加公钥到你的远程仓库
登陆你的github帐户。点击你的头像,然后 Settings -> 左栏点击 SSH and GPG keys -> 点击 New SSH key
git clone git@xxx mydir
标签:远程仓库 hub email use rsa xxx 生成 仓库 conf
原文地址:http://blog.51cto.com/12473494/2317568