From: Michael Prokop Date: Sun, 2 Nov 2008 22:52:06 +0000 (+0100) Subject: gitconfig: update alias 'out', fix usage of pager config, add new alias 'tagme' X-Git-Tag: v0.3.59~1 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=7b6cd50a0ab551bc780a1ddad6db5d7eea22fb8b gitconfig: update alias 'out', fix usage of pager config, add new alias 'tagme' --- 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\"' -"