Skip to main content
Connection closed by xxx.xxx.xxx.xx port 22

在某次对我的仓库 push 的时候,我得到了如下报错

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

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

MarshioLess than 1 minutegit
Connection reset by xxx.xxx.xxx.xx port 443

在某次对我的仓库 push 的时候,等了一段时间后,我就知道,出问题了,之前的 push 都是很正常的,怎么突然就不行了呢?

Connection reset by 20.205.243.160 port 443
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

MarshioLess than 1 minutegit
Git命令

init

初始化仓库

git init

remote

远程仓库信息

# 查看远程仓库信息
git remote -v

# 绑定指定仓库
git remote add origin [email protected]:demo/spring.git

# 修改远程仓库地址
git remote set-url origin [email protected]:imarshio/marshio.git

MarshioAbout 3 mingit