aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 04:44:06 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-01-05 04:44:06 +0100
commitdf88365d938dad9326767ac6de0aff9e665ae4ed (patch)
treea66ed3ba4c778735228ab4f59ae6d9618e7a9319
parenta0d875ae88f398c3e3d87aff48940ff5ec55efc1 (diff)
downloadcgit-oci-df88365d938dad9326767ac6de0aff9e665ae4ed.tar.gz
cgit-oci-df88365d938dad9326767ac6de0aff9e665ae4ed.tar.bz2
cgit-oci-df88365d938dad9326767ac6de0aff9e665ae4ed.tar.lz
cgit-oci-df88365d938dad9326767ac6de0aff9e665ae4ed.zip

feat: default branch of master because why would we change the defaults

-rw-r--r--Containerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile
index 54bbb41..352b6b9 100644
--- a/Containerfile
+++ b/Containerfile
@@ -48,6 +48,7 @@ RUN echo "git:$(openssl rand -hex 4096)" | chpasswd
RUN setcap CAP_NET_BIND_SERVICE=+eip /usr/sbin/caddy
RUN ln -s /var/lib/git/cgitrc /etc/cgitrc
+RUN sudo -u git git config --global init.defaultBranch master
# SSH Keys, Config
VOLUME ["/etc/ssh"]