git报错Connection closed by 149.28.138.223 port 22 fatal: Could not read from remote repository. Plea

When pushing to the remote, an error occurs

Connection closed by 149.28.138.223 port 22
fatal: Could not read from remote repository.

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

Solution

git remote set-url origin 项目地址

Guess you like

Origin blog.csdn.net/Joye_7y/article/details/127933448