git config --global user.name "xxx"
git config --global user.email "xxx@xxx.com"
ssh-keygen -t rsa -C "xxx@xxx.com"
~ cat ~/.ssh/id_rsa.pub 查看ssh key
pbcopy < ~/.ssh/id_rsa.pub 复制到剪切板,就可以直接粘贴出去啦~
git config --global user.name "xxx"
git config --global user.email "xxx@xxx.com"
ssh-keygen -t rsa -C "xxx@xxx.com"
~ cat ~/.ssh/id_rsa.pub 查看ssh key
pbcopy < ~/.ssh/id_rsa.pub 复制到剪切板,就可以直接粘贴出去啦~