使用git clone
命令clone
项目时,如果repository
的SSH
端口不是标准22
端口时(例如,SSH tunnel
模式,等等),可以使用如下命令:
git clone ssh://git@hostname:port/.../xxx.git
举例如下:
git clone ssh://git@10.107.200.113:2222/root/test.git
使用git clone
命令clone
项目时,如果repository
的SSH
端口不是标准22
端口时(例如,SSH tunnel
模式,等等),可以使用如下命令:
git clone ssh://git@hostname:port/.../xxx.git
举例如下:
git clone ssh://git@10.107.200.113:2222/root/test.git
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。