我的当前命令是:
git clone ssh://username@onboard.com/srv/git/repo
之后
password
...很好,运行良好。
现在我想用一行代码实现这个功能。就像这样:
git clone ssh://username:password@onboard.com/srv/git/repo
但它无法工作,会给我以下信息:
Please make sure you have the correct access rights and the repository exists.
如何在一行代码中进行克隆?