-
通过
git push --help
命令查看帮助信息中的 URLs 支持信息.
ssh://[user@]host.xz[:port]/path/to/repo.git/
.git://host.xz[:port]/path/to/repo.git/
.http[s]://host.xz[:port]/path/to/repo.git/
.ftp[s]://host.xz[:port]/path/to/repo.git/
-
可以使用如下命令添加远程 url
git remote add ssh://username@git.host.com:22/path/to/project.git
git 命令支持的的代码仓库地址
最新推荐文章于 2023-06-16 15:05:10 发布