X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/56c3a7e735236be7ff43f95fe1a001f5245cdd81..2d07849bd4e5b7cdd6ed19c9f4360e65c6d50c5d:/gitconfig diff --git a/gitconfig b/gitconfig index 4d8eb77..3b70524 100644 --- a/gitconfig +++ b/gitconfig @@ -1,9 +1,11 @@ [core] filemode = true + excludesfile = @gitignore@ [user] name = Mark Wooding email = mdw@distorted.org.uk + signingkey = @releasekey@ [merge] summary = true @@ -45,6 +47,14 @@ [alias] egrep = "grep -E" patch = "format-patch -o p -s" + release = !"sh -e -c ' \ + [ $# -gt 0 ] || { \ + echo >&2 \"usage: git release [OPTS] TAG\"; \ + exit 1; \ + }; \ + ver=$(eval echo \"\\$$#\"); \ + git tag -as -m \"Release $ver.\" \"$@\"' release" + amend = !"env EDITOR=true VISUAL=true git commit --amend -a" mailto = "send-email \ --quiet \ --no-chain-reply-to \