git基础--ubuntu下的安装与配置
安装:
sudo apt-get install git
初始配置:
git config --global user.name "xxx"
git config --global user.email "你的邮箱地址"
创建公钥:
ssh-keygen -C 'you email address@gmail.com' -t rsa
在git或者gitlab上添加SSH-KEY:
cd ~/.ssh
vim id_rsa.pub
将id_rsa.pub中的内容粘贴置git或者gitlab中的SSH-KEY的配置中即可。

浙公网安备 33010602011771号