From 7b6cd50a0ab551bc780a1ddad6db5d7eea22fb8b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 2 Nov 2008 23:52:06 +0100 Subject: [PATCH] gitconfig: update alias 'out', fix usage of pager config, add new alias 'tagme' --- etc/skel/.gitconfig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/skel/.gitconfig b/etc/skel/.gitconfig index 4844c2f..39f4bff 100644 --- a/etc/skel/.gitconfig +++ b/etc/skel/.gitconfig @@ -20,9 +20,9 @@ numbered = auto [color] - branch = auto + branch = yes diff = auto - pager = auto + pager = yes status = auto #[color "branch"] @@ -45,6 +45,7 @@ #[gui] # fontui = -family terminus -size 9 -weight normal -slant roman -underline 0 -overstrike 0 # fontdiff = -family terminus -size 9 -weight normal -slant roman -underline 0 -overstrike 0 +# editor = gvim [svn] rmdir = true @@ -64,11 +65,12 @@ mnc = merge --no-commit olg = log --abbrev-commit --abbrev=6 --pretty=oneline one = "!sh -c 'git show -s --pretty=\"tformat:%h (%s, %ai\" \"$@\" | sed -e \"s/ [012][0-9]:[0-5][0-9]:[0-5][0-9] [-+][0-9][0-9][0-9][0-9]$/)/\"' -" - out = push --dry-run + out = !git push --dry-run purge = !git checkout $(git rev-parse --show-cdup) && git clean -xdf serve = !sh -c 'git daemon --reuseaddr --verbose \"$@\" --base-path=. --export-all ./.git' sh stgd = diff --cached st = status + tagme = !sh -c '[ -z "$1" ] && exit 1 || git tag -s v\"$1\" -m \"release \"$1\"\"' sh tush = push --tags who = "!sh -c 'git log -1 --pretty=\"format:%an <%ae>\" --author=\"$1\"' -" -- 2.1.4