From 738dabdd857612fe793e37ac057001535130bd49 Mon Sep 17 00:00:00 2001 From: Jesus E Date: Mon, 3 Jul 2023 16:46:42 -0400 Subject: README.md: update --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 +``` -- cgit v1.2.3