faq (view raw)
1Frequently Asked Questions
2--------------------------
3
4This is a compilation of frequently asked questions on the cgit mailing
5list. If you've got a cgit problem and cannot find an answer here, please
6send a request to cgit@lists.zx2c4.com (and consider sending a patch to the
7cgit wiki branch to update this faq if you get a nice answer to your
8question).
9
10### Why doesn't cgit find/show my repo?
11
12This is most likely due to permission problems: cgit runs under your
13webserver user account and will need read access to your repo (and all
14of the parent directories)
15
16
17### Why does cgit complain that my repo is "Not a git repository"?
18
19The most common cause of this is permission problems - see the previous
20faq entry for more details.
21
22The second most common cause is that you've set repo.path to point at the
23working-directory of your git repo - it should point at the $GITDIR, i.e.
24the .git directory.
25
26A less likely cause is that the repo is, infact, not a valid repo. Try
27to run 'git show' in the offending repo to see if git also thinks your
28repo has issues.