git配置 git config --global user.name "xxxxxx" git config --global user.email "xxxxxx@xxxx.com" 生成 ssh-keygen -t rsa -C "xxxx@xxxx.com" 获取 cat ~/.ssh/id_rsa.pub