欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

mac 从 git 提取代码

最编程 2024-03-14 13:52:10
...
  • 终端输入git --version 检查电脑是否装有git,有下一步,没有安装git
  • 设置username email
  • git config --global user.name 你的名字 回车
  • git config --global user.email 你的邮箱 回车
  • 创建ssh key: ssh-keygen -t rsa -C "你的邮箱" 回车
  • 查询key: cat .ssh/id_rsa.pub 回车
  • 打开git 点击用户头像 点击settings 新建key 粘贴设置好查询到的key