将 git repo 添加为远程时,是否需要 ssh://前缀?我一直把它简单地看作:
git remote add user@server.com/path/here
是否隐含 ssh://前缀?
最佳答案
如果没有指定其他协议(protocol),Git 默认使用 ssh 协议(protocol)。
看
http://book.git-scm.com/3_getting_a_git_repository.html
关于git add remote,是ssh ://prefix required,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8584273/