aboutsummaryrefslogtreecommitdiffgithub
diff options
context:
space:
mode:
authorAustin Adams <git@austinjadams.com>2016-01-03 00:22:42 -0500
committerAustin Adams <git@austinjadams.com>2016-01-03 00:22:42 -0500
commita64502fff18b540792fa01e07b7412569ec59972 (patch)
treed569c1e9bfce2beb1138faf9fcbabdd5256511af
parent63d4eadb4e044914c8391ac4891814610b05eb08 (diff)
downloadcgit-a64502fff18b540792fa01e07b7412569ec59972.tar.gz
cgit-a64502fff18b540792fa01e07b7412569ec59972.tar.xz
add a config example
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4a44514..7b83033 100644
--- a/README.md
+++ b/README.md
@@ -71,3 +71,22 @@ which might help if my directions are confusing.
# dpkg -i ../cgit_*.deb
you're done! nice work
+
+how do i configure this?
+------------------------
+
+in `/etc/cgitrc` like anything else:
+
+ # enable github tab
+ enable_github_tab=1
+ github_user=ausbin
+
+ ...
+
+ # example of repo.hide
+ repo.url=foo
+ repo.desc=show off repo.hide
+ repo.path=/home/jane/foo.git
+ repo.hide=1
+
+see `cgitrc(5)` for more information.