Do not enable user section by default
[grml-etc-core.git] / etc / skel / .gitconfig
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 ################################################################################
7
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
11 # possible.
12 #[user]
13 #    name = Grml User
14 #    email = git@grml.org
15
16 [core]
17     pager = less -Mr
18
19 [format]
20     numbered = auto
21
22 [color]
23     branch = yes
24     diff   = auto
25     pager  = yes
26     status = auto
27
28 [color "branch"]
29     current = green
30     local   = yellow
31     remote  = cyan
32
33 [color "diff"]
34     meta = yellow
35     frag = magenta
36     old  = red
37     new  = green
38
39 [color "status"]
40     header    = magenta
41     added     = yellow
42     changed   = green
43     untracked = cyan
44
45 #[gui]
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
48
49 [svn]
50     rmdir = true
51
52 [http]
53     sslVerify=false
54
55 [alias]
56     b    = branch
57     ca   = commit -a
58     chgd = diff HEAD
59     ci   = commit
60     co   = checkout
61     graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format:  %h -> { %p }' \"$@\" | sed 's/[0-9a-f]\\+/\"&\"/g' ; echo '}'; }; f"
62     m    = checkout master
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
69     stgd = diff --cached
70     st   = status
71     tush = push --tags
72     who  = "!sh -c 'git log -1 --pretty=\"format:%an <%ae>\" --author=\"$1\"' -"
73
74 #[sendemail]
75 #    aliasesfile   = /home/grml/.gitaliases
76 #    aliasfiletype = mutt
77 #    chainreplyto  = false
78
79 ## END OF FILE #################################################################
80 # vim:tabstop=4 autoindent filetype=gitconfig expandtab