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" }}