blob: 3f4e3ef7dc2f51e286cb04a003e30041720a16e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
format: rst
toc: no
...
=======================
Git
=======================
Quick tip: when you have ``.gitignore`` ignoring everything (with a ``*``
entry), you need to use ``git-update-index --add FILE`` to actually add the
file, instead of just ``git-add FILE``.
Over HTTP
--------------
To make a repository available over "dumb" HTTP, set up a bare repository and
copy ``hooks/post-update.sample`` to ``hooks/post-update``.
To add links from gitweb, add to the ``@git_base_url_list`` list in the
configuration file.
|