Git命令

246 阅读1分钟
  1. 生成ssh私钥
$ git config --list //查看当前全局配置
$ git config --global user.name "用户名"
$ git config --global user.email "邮箱"
  1. 生成ssh密钥:
$ ssh-keygen -t rsa -C “邮箱”
  1. 克隆项目
git clone