问题
通过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端口号文章来源:https://uudwc.com/A/AAkNE
方法2
SSH 方法文章来源地址https://uudwc.com/A/AAkNE
git clone ssh://git@localhost:222/wzy/test.git