ssh-keygen -t ed25519 -C "xxx@example.com" 如果自定义.pub文件名 添加以下文件: cat C:/Users/.ssh/config Host github.com HostName github.com User git IdentityFile C:/Users/.ssh/new-git