更新时间:2022-04-02 05:39:15
好吧,我认为你在第二种情况下使用了错误的网址
Well, I think you are using the wrong url in your second case
试试这个
git clone git@github.com:organisation_name/repo_name.git
使用:
不同> git @ 与您当前正在使用的 /
以及额外的 .git
at结束。
The difference is the :
in the url when using git@
vs the /
you are currently using, and the extra .git
at the end.
如果你去github并选择用于克隆的ssh网址(而不是默认选择的https),这应该是相同的网址。
This should be the same url if you go to github and select the ssh url for cloning (and not the https one selected by default)