현재 개인 서버에서 gitolite + gitlist로 전환했습니다. gitolite는 잘 작동하지만 gitlist와 gitweb은 잘 동작하지 않습니다. gitlist에 내가 testrepo 내 자신을 볼 수 있지만 , gitlist 나에게gitlist : HEAD를 유효한 심판으로 해결하지 못했습니다
Oops! fatal: Failed to resolve HEAD as a valid ref.
는 config가 유효 보이는
...
[git]
client = '/usr/bin/git' ; Your git executable path
repositories = '/var/www/gitolite/repositories/' ; Path to your repositories
; You can hide repositories from GitList, just copy this for each repository you want to hide
; hidden[] = '/var/www/projects/BetaTest'
hidden[] = /var/www/gitolite/repositories/gitolite-admin.git
[app]
debug = false
; If you need to specify custom filetypes for certain extensions, do this here
[filetypes]
; extension = type
; dist = xml
... 또한 저장소를 알려줍니다
drwxr-xr-x 7 git git 4096 Sep 23 11:53 .
drwxr-xr-x 5 git git 4096 Sep 23 00:19 ..
-rwxr-xr-x 1 git git 23 Sep 23 00:19 HEAD
drwxr-xr-x 2 git git 4096 Sep 23 00:19 branches
-rwxr-xr-x 1 git git 66 Sep 23 00:19 config
-rwxr-xr-x 1 git git 386 Sep 24 17:27 gl-conf
drwxr-xr-x 2 git git 4096 Sep 23 00:19 hooks
drwxr-xr-x 2 git git 4096 Sep 23 00:19 info
drwxr-xr-x 109 git git 4096 Sep 25 00:24 objects
drwxr-xr-x 4 git git 4096 Sep 23 00:19 refs
및 HEAD
어떤 아이디어?
정확한 명령 (git clone, 내가 생각하기에)이 실패하고 있습니까? 정확한 주소는 무엇입니까? – VonC
'HEAD'와'config'는 (보통) 실행 가능해서는 안됩니다. 비록 이것이 문제가된다면 나는 놀랄 것이다. –
싫어, 자식 클론, 밀고 당겨 올바르게 작동, (내가 말한대로) gitolite 잘 작동합니다. 그러나 gitlist는 저장소가 아니라 내용을 보여줍니다. 오류 메시지 "Oups! ..."가 표시됩니다. HEAD 및 Config에 대한 권한을 변경하지 않고 정상적으로 변경했습니다. – torsten