From a75a4a461fdb48e0091f91d209b9b4243a326073 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Sun, 30 Oct 2016 14:55:18 +0100 Subject: [PATCH] Add 't' alias to .gitconfig Signed-off-by: Severin Kaderli --- .gitconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index ab0caac..2f31af1 100644 --- a/.gitconfig +++ b/.gitconfig @@ -16,7 +16,10 @@ c = commit -s # Push to the master branch of the origin remote - p = push origin master + p = push origin master --tags + + # Tag the latest commit + t = !sh -c 'git tag -a $1 -m $1' - # Shortcut for diff d = diff @@ -24,5 +27,6 @@ [color] # Activate color use in git commands ui = auto + [core] editor = vim