git Key is already in use
简单粗暴:重新生成SSH key再关联至GitHub问题提示Key is already in use官方文档Error: Key already in use This error occurs when you try to add akey that’s already been added to another account or repository该key被其他用户使用或被其他仓库使
简单粗暴:重新生成SSH key再关联至GitHub
问题提示
Key is already in use
官方文档
Error: Key already in use This error occurs when you try to add a
key that’s already been added to another account or repository
该key被其他用户使用或被其他仓库使用官方文档
Once a key has been attached to one repository as a deploy key,
it cannot be used on another repository.
一个键作为部署的ssh key使用只能绑定一个仓库。
ssh -T -ai ~/.ssh/id_rsa git@github.com
Connect to GitHub using a specific ssh key
Hi username! You’ve successfully authenticated, but GitHub does not
provide shell access.
解决:
用户 Setting -SSH and GPG keys -中将电脑上已有的key配置到了SSH keys
finally:
git push -u origin master
更多推荐
所有评论(0)