git config --global user.name "xxx" git config --global user.email "xxx" 生成ssh公钥: ssh-keygen -t rsa -C "xxx@xxx"