Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Admin message
GitLab upgrade completed. Current version is 17.11.6.
Changes
Page history
Update Forge to Gitlab migration FAQ
authored
Jul 02, 2020
by
IMBERT Matthieu
Hide whitespace changes
Inline
Side-by-side
Forge-to-Gitlab-migration-FAQ.md
View page @
a8dfde52
...
@@ -26,6 +26,14 @@ chmod a+x /svnroot/<project unix name>/hooks/pre-commit
...
@@ -26,6 +26,14 @@ chmod a+x /svnroot/<project unix name>/hooks/pre-commit
#### Git
#### 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
## Available documentation and help
The gitlab documentation is available here: https://gitlab.inria.fr/help
The gitlab documentation is available here: https://gitlab.inria.fr/help
...
...