To update the remote url in your local repository run (for ssh):or for http(s):查看是ssh or https,使用命令:示例如图:远程仓库迁移后,怎么同步迁移本地仓库? To update the remote url in your local repository run (for ssh):git remote set-url origin git@gitxxx.git or for http(s):git remote set-url origin https://gitxxx.git 查看是ssh or https,使用命令:git ls-remote --get-url origin 示例如图: