我正在尝试使用CopSsh,PuTTY和msysgit在Windows 7上设置Git服务器.我在使用ssh克隆存储库时遇到问题.
如果我使用常规目录路径,它的工作原理:
$ git clone ~/vc/git/depot/test.git/ /c/dev/es/app
Initialized empty Git repository in c:/dev/es/app/.git/
warning: You appear to have cloned an empty repository.
Run Code Online (Sandbox Code Playgroud)
Ssh,不起作用.我尝试了不同的路径而没有成功.
$ git clone ssh://steve@test:4837/~/vc/git/depot/test.git/ /c/dev/es/app
Initialized empty Git repository in c:/dev/es/app/.git/
fatal: '~/vc/git/depot/eastApp.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)
我按照这里的说明进行操作:http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/
有线索吗?
Ste*_*eve 10
我弄错了路......
git clone "ssh://steve@test:4837/Program Files (x86)/ICW/home/steve/vc/git/depo/test.git"
/c/dev/es/app/
Run Code Online (Sandbox Code Playgroud)
工作.
| 归档时间: |
|
| 查看次数: |
38113 次 |
| 最近记录: |