Add documentation

This commit is contained in:
René Pfeuffer
2020-10-30 14:07:38 +01:00
parent 91d1e7a46d
commit 56f99a643f
6 changed files with 47 additions and 0 deletions

22
docs/en/user/admin/git.md Normal file
View File

@@ -0,0 +1,22 @@
---
title: Administration
subtitle: Git
---
In the git section there are the following git specific settings:
- GC Cron Expression
If this is set, SCM-Manager will execute a git garbage collection matching the given
[cron expression](https://en.wikipedia.org/wiki/Cron#CRON_expression).
- Disable Non Fast-Forward
Activate this to reject forced pushes that are not fast forwards.
- Default Branch
The branch name configured here will be used for the initialization of new repositories.
Please mind, that due to git internals this cannot work for empty repositories (here git
will always use its internal default branch, so at the time being `master`).
![Administration-Plugins-Installed](assets/administration-settings-git.png)