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 syncing
9 # with this file is as easy as possible. Use
10 # GIT_AUTHOR_NAME, GIT_COMMITTER_NAME, GIT_AUTHOR_EMAIL and
11 # GIT_COMMITTER_EMAIL via your shell environment instead.
14 # email = git@grml.org
43 # fontui = -family terminus -size 9 -weight normal -slant roman -underline 0 -overstrike 0
44 # fontdiff = -family terminus -size 9 -weight normal -slant roman -underline 0 -overstrike 0
59 fpu = format-patch -s -p origin/master
60 graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f]\\+/\"&\"/g' ; echo '}'; }; f"
62 mnc = merge --no-commit
63 olg = log --abbrev-commit --abbrev=6 --pretty=oneline
64 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]$/)/\"' -"
65 out = !git push --dry-run
66 purge = !git checkout $(git rev-parse --show-cdup) && git clean -xdf
67 serve = !sh -c 'git daemon --reuseaddr --verbose \"$@\" --base-path=. --export-all ./.git' sh
70 tagme = !sh -c '[ -z "$1" ] && exit 1 || git tag -s v\"$1\" -m \"release \"$1\"\"' 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
78 # smtpserver = /usr/bin/msmtp
80 ## END OF FILE #################################################################
81 # vim:tabstop=4 autoindent filetype=gitconfig expandtab