Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查看 github 上的一个项目。它告诉我克隆的 URL 是:
https://github.com/dublintech/backupmedia.git
那么这个 URL 的 git@... 版本是什么?或者我怎么得到它?
该 URL 下方有一个“SSH”链接。单击它将使用 SSH URL 填充文本框。
或者,减法https://,加法git@,将第一个替换为/,:完成。
https://
git@
/
:
如果您有一个相当新的 Git 版本,则不需要git@URL 的版本。只需这样做:
git clone https://github.com/dublintech/backupmedia.git