aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus E <heckyel@riseup.net>2023-07-03 16:46:42 -0400
committerJesus E <heckyel@riseup.net>2023-07-03 16:46:42 -0400
commit738dabdd857612fe793e37ac057001535130bd49 (patch)
treed3561b220f91b51e2f70f783e824b17ce175772c
parente905549453a4434865413695a5e486cee0178504 (diff)
downloadgitolite-cgit-docker-738dabdd857612fe793e37ac057001535130bd49.tar.lz
gitolite-cgit-docker-738dabdd857612fe793e37ac057001535130bd49.tar.xz
gitolite-cgit-docker-738dabdd857612fe793e37ac057001535130bd49.zip
README.md: update
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index ab84f44..90dfcac 100644
--- a/README.md
+++ b/README.md
@@ -245,3 +245,27 @@ repo CREATOR/[a-zA-Z0-9].*
R = @all
config gitweb.owner = %GL_CREATOR
```
+
+#### Set default branch
+
+```console
+ssh git@gitolite-host symbolic-ref public/foo HEAD refs/heads/main
+```
+
+Real sample:
+
+```console
+ssh git@c.fridu.us symbolic-ref containers/gitolite-cgit-docker HEAD refs/heads/main
+```
+
+#### Delete branch
+
+```console
+git push origin :branch
+```
+
+Real sample:
+
+```console
+git push origin :master
+```