git问题ERROR: Repository not found.的解决办法

git有时候会报这样的问题

ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

解决方案是

git remote set-url origin git@github.com:xxxxxx/xxxxxx.git

查看

$ git remote -v

origin    https:YourUserName/YatouTest00123.git (fetch)
origin    https:YourUserName/YatouTest00123.git (push)

阅读更多
换一批

没有更多推荐了,返回首页