gitee创建仓库后默认提供的是https链接需要修改为ssh才能免密登录 1. 查看远程仓库链接 git remote -v 删除远程仓库 git remote rm origin 重新添加远程仓库(ssh地址) git remote add origin 新的git地址(ssh)