在 Ubuntu 10.04 操作系统上架设了 Git 远程代码仓库并通过HTTP协议共享。clone 远程版本库时出现如下错误
fatal: http://git.heiher.info/xxxx.git/info/refs not found: did you run git update-server-info on the server? |
解决方法
编辑服务器端文件 xxxx.git/hooks/post-update
exec git-update-server-info |
修正为
exec git update-server-info |
新版本 git-core 已经修复了此拼写错误。
Over!
关注中。我也试试
然后还要执行下这个文件