1. 查看本机是否存在ssh
cd ~/.ssh
2. 创建ssh
ssh-keygen
3. 查看ssh
cat ~/.ssh/id_rsa.pub
4. 添加到远程仓库
5.配置全局usename.useremail
git config --global user.name "xxx"
git config --global user.email "xxx@xxx"
Powered by: 博客园 Copyright © 2024 Min77 Powered by .NET 8.0 on Kubernetes