summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-06-17 16:53:55 -0400
committerGitHub <noreply@github.com>2020-06-17 16:53:55 -0400
commit6bf78d2b576a5caa77a670db9bbf2572d0272f25 (patch)
tree36b547e948ac0c1aed41c5088f397ea50fa905ee /custom
parent9e6a79bea9d7911c81b86a6d3715d340fc19032a (diff)
downloadgitea-6bf78d2b576a5caa77a670db9bbf2572d0272f25.tar.gz
gitea-6bf78d2b576a5caa77a670db9bbf2572d0272f25.zip
Global default branch setting (#11918)
* Global default branch setting * add to app.ini example per @silverwind * update per @lunny Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 2d3aab1489..512073d43d 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -57,6 +57,8 @@ DEFAULT_REPO_UNITS = repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki
PREFIX_ARCHIVE_FILES = true
; Disable the creation of new mirrors. Pre-existing mirrors remain valid.
DISABLE_MIRRORS = false
+; The default branch name of new repositories
+DEFAULT_BRANCH=master
[repository.editor]
; List of file extensions for which lines should be wrapped in the Monaco editor