1 # Filename: $HOME/.gitconfig
2 # Purpose: configuration file for git(1)
3 # Authors: grml-team (grml.org)
4 # Bug-Reports: see http://grml.org/bugs/
5 # License: This file is licensed under the GPL v2 or any later version.
6 ################################################################################
8 # Notice: We do not set user section by default so synching
9 # with this file is as easy as possible. Use GIT_AUTHOR_NAME
10 # and GIT_AUTHOR_EMAIL via your shell environment instead if
14 # email = git@grml.org
46 # fontui = -family terminus -size 9 -weight normal -slant roman -underline 0 -overstrike 0
47 # fontdiff = -family terminus -size 9 -weight normal -slant roman -underline 0 -overstrike 0
61 graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f]\\+/\"&\"/g' ; echo '}'; }; f"
63 mnc = merge --no-commit
64 olg = log --abbrev-commit --abbrev=6 --pretty=oneline
65 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]$/)/\"' -"
66 out = !git push --dry-run
67 purge = !git checkout $(git rev-parse --show-cdup) && git clean -xdf
68 serve = !sh -c 'git daemon --reuseaddr --verbose \"$@\" --base-path=. --export-all ./.git' sh
72 who = "!sh -c 'git log -1 --pretty=\"format:%an <%ae>\" --author=\"$1\"' -"
75 # aliasesfile = /home/grml/.gitaliases
76 # aliasfiletype = mutt
77 # chainreplyto = false
79 ## END OF FILE #################################################################
80 # vim:tabstop=4 autoindent filetype=gitconfig expandtab