Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
特别';网址';有一个像这样的@符号git@github.com:user/myproject.git_Git_Url - Fatal编程技术网

特别';网址';有一个像这样的@符号git@github.com:user/myproject.git

特别';网址';有一个像这样的@符号git@github.com:user/myproject.git,git,url,Git,Url,当我查看一些git命令时,有时url选项中会填充一些带有@符号的奇怪url。例如,git clone git clone-b my branchgit@github.com:user/myproject.git 这是什么格式的,可以使用任何类似http://example.com是否可以这样表示 还是我完全遗漏了什么?如几页Git手册所述,包括: ssh协议也可以使用类似scp的替代语法: [user@]host.xz:path/to/repo.git/ 这意味着这是ssh://[user@

当我查看一些git命令时,有时url选项中会填充一些带有@符号的奇怪url。例如,
git clone git clone-b my branchgit@github.com:user/myproject.git

这是什么格式的,可以使用任何类似
http://example.com
是否可以这样表示


还是我完全遗漏了什么?

如几页Git手册所述,包括:

ssh协议也可以使用类似scp的替代语法:

  • [user@]host.xz:path/to/repo.git/
这意味着这是ssh://[user@]host.xz/path/to/repo.git/的缩写


(这个特殊的扩展是一个特殊的Git技巧。大多数其他URL处理程序都不会这样处理参数。)

如几页Git手册中所述,包括:

ssh协议也可以使用类似scp的替代语法:

  • [user@]host.xz:path/to/repo.git/
这意味着这是ssh://[user@]host.xz/path/to/repo.git/的缩写

(这个特殊的扩展是一个特殊的Git技巧。大多数其他URL处理程序都不这样处理参数。)

,它只是不太常见。

,它只是不太常见