git push报错 fatal: repository 'xxx ' not found

报错内容:

isTester.com@MacBook-Pro-4isTester% git push

fatal: repository 'http://t.istester.com:3000/21DayisTester/LinuxBlog.git' not found

原因,

远程仓库地址变更了;( 相关文章:查看远程仓库地址 http://istester.com/git/448.html )

解决思路 ,

更新关联的远程仓库地址

怎么改 ?(更换本地git库 远程仓库地址 详细过程)

isTester.com@MacBook-Pro-4 isTester % git remote -v

origin http://t.istester.com:3000/21DayisTester/LinuxBlog.git (fetch)

origin http://t.istester.com:3000/21DayisTester/LinuxBlog.git (push)

isTester.com@MacBook-Pro-4 isTester % 

isTester.com@MacBook-Pro-4 isTester % git remote set-url origin http://t.istester.com:3000/21DayisTester/LinuxBlog.git

isTester.com@MacBook-Pro-4 isTester % git remote -v

origin http://t.istester.com:3000/21DayisTester/LinuxBlog.git (fetch)

origin http://t.istester.com:3000/21DayisTester/LinuxBlog.git (push)

isTester.com@MacBook-Pro-4 isTester % 

isTester.com@MacBook-Pro-4 isTester % git push

Enumerating objects: 4, done.

Counting objects: 100% (4/4), done.

Delta compression using up to 8 threads

Compressing objects: 100% (2/2), done.

Writing objects: 100% (3/3), 272 bytes | 272.00 KiB/s, done.

Total 3 (delta 0), reused 0 (delta 0)

Tohttp://t.istester.com:3000/21DayisTester/LinuxBlog.git

 8e5a7bc..0657828 master -> master




首发 http://istester.com/git/283.html

作者 / IDO老徐

转载注明出处 ,有任何问题,评论区交流 。

你可能感兴趣的:(git push报错 fatal: repository 'xxx ' not found)