git中git:// 和 git@的区别
时间: 2024-01-22 22:03:06 浏览: 82
引用\[1\]:在git中,git://和git@是两种不同的协议。git://是使用Git协议进行通信,而git@是使用SSH协议进行通信。Git协议是一种用于传输Git数据的协议,它通常用于公开的Git仓库,可以通过git://开头的URL进行访问。而SSH协议是一种安全的协议,用于远程登录和执行命令,它通常用于私有的Git仓库,可以通过git@开头的URL进行访问。所以,git://和git@的区别在于使用的协议不同,一个是Git协议,一个是SSH协议。\[3\]
#### 引用[.reference_title]
- *1* [command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git npm ERR](https://blog.csdn.net/hadues/article/details/128534945)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [对 git 使用的 http://, https:// 和 git:// 协议代理](https://blog.csdn.net/u010185803/article/details/80025733)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [npm ERR! command git ls-remote ssh://git@github.com/hyj1991/v8-profiler-next.git](https://blog.csdn.net/z_dmsd/article/details/120772832)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文