问题

通过222端口克隆git@localhost:wzy/test.git

出现问题:

Cloning into 'test'...
ssh: connect to host localhost port 22: Connection refused
fatal: Could not read from remote repository.

方法1

Http 方法

git clone http://localhost:3000/wzy/test.git

其中 3000 是Http端口号

方法2

SSH 方法

git clone ssh://git@localhost:222/wzy/test.git
Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐