... | ... | @@ -26,6 +26,14 @@ chmod a+x /svnroot/<project unix name>/hooks/pre-commit |
|
|
|
|
|
#### Git
|
|
|
|
|
|
Add a pre-receive hook which always returns false. For example:
|
|
|
|
|
|
```
|
|
|
ssh scm.gforge.inria.fr
|
|
|
echo -e '#!'"/bin/bash\necho \"This repository is read-only\"\nexit 1" > /gitroot/<path_to_git_server_repo>/hooks/pre-receive
|
|
|
chmod a+x /gitroot/<path_to_git_server_repo>/hooks/pre-receive
|
|
|
```
|
|
|
|
|
|
## Available documentation and help
|
|
|
|
|
|
The gitlab documentation is available here: https://gitlab.inria.fr/help
|
... | ... | |