From 1d86d680bc5354c61d9dc124330aa3aa1fc381a6 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Tue, 10 Sep 2024 15:22:15 +0100 Subject: [PATCH] update git config --- templates/git/config.gotmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/git/config.gotmpl b/templates/git/config.gotmpl index bf1985a..5ede20e 100644 --- a/templates/git/config.gotmpl +++ b/templates/git/config.gotmpl @@ -10,6 +10,7 @@ up = !sh -c 'git checkout $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@') && git fetch --all && git pull origin $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')' sw = switch rb = rebase + fh = !sh -c 'git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main' [commit] gpgsign = {{ .Git.GpgSign }} template = {{ env "XDG_CONFIG_HOME" | printf "%s/git/message" }}