From 7e2c05e92fcc878bd17c49575bede378db3c45a3 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 3 Mar 2008 12:51:47 +0000 Subject: [PATCH] gitconfig: New alias git-release. --- gitconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitconfig b/gitconfig index e54f01e..7ef9adf 100644 --- a/gitconfig +++ b/gitconfig @@ -46,6 +46,10 @@ [alias] egrep = "grep -E" patch = "format-patch -o p -s" + release = !"sh -e -c ' \ + ver=${1?version}; \ + shift; \ + git tag -as "$@" -m \"Release $ver.\" \"$ver\"' release" mailto = "send-email \ --quiet \ --no-chain-reply-to \ -- 2.11.0