update git config

This commit is contained in:
Dan Anglin 2024-09-10 15:22:15 +01:00
parent 9750df2a85
commit 1d86d680bc
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

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