- 1,本地帐号生成 ssh key,命令:ssh-keygen
- 2,本地帐号运行 ssh-copy-id,把本地ssh id 复制到远程主机
例如:ssh-copy-id git@localhost - 3,本地帐号运行
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
来设置您账号的缺省身份标识。
Git 错误:无法推送一些引用到 ***,解决
发布时间 2024-01-05 23:35:44作者: 小熊宝宝啊