support MacOS
[~madcoder/dotfiles.git] / gitconfig
1 [madcoder]
2     up-gitk=true
3
4 [alias]
5     co=checkout -m
6     ci=commit -s
7     st=!git -p status
8     pop=reset HEAD~1
9     unstash=stash apply
10     amend=commit -s --amend
11     squash=commit -s --amend -C HEAD
12     debtag=!git tag -f -a -s -m `git-symbolic-ref HEAD | sed -e 's~refs/heads/~~'`/`dpkg-parsechangelog | sed -n 's/^Version: \\(.*:\\)\\?//p'` `git-symbolic-ref HEAD | sed -e 's~refs/heads/~~'`/`dpkg-parsechangelog | sed -n 's/^Version: \\(.*:\\)\\?//p'`
13     b64=commit -sm'64bits fix'
14     send=send-email --no-chain-reply-to --suppress-cc all --suppress-from --no-signed-off-by-cc --annotate --compose -C -C -M --patience --to
15     is-send=send-email --no-chain-reply-to --suppress-cc all --suppress-from --no-signed-off-by-cc --annotate --compose --patience -C -C -M --to corp.software.review@news.intersec.com
16     unstage=reset HEAD --
17     track=add -N
18     untrack=rm --cached
19
20 [merge]
21     tool=diffuse
22
23 [core]
24     #editor=gvim -f
25     editor=vim
26     excludesfile=/home/madcoder/.git-excludes
27     preloadindex=true
28
29 [notes]
30     displayRef = refs/notes/*
31
32 [push]
33     default = upstream
34
35 [user]
36     name = Pierre Habouzit
37     email = madcoder@debian.org
38
39 [color]
40     ui     = auto
41     diff   = auto
42     branch = auto
43     status = auto
44     pager  = true
45     interactive = auto
46     grep   = auto
47
48 [color "diff"]
49     meta = green
50     frag = yellow
51     old = magenta
52     new = bold cyan
53
54 [color "status"]
55     header = bold blue
56     added  = green
57     changed = bold red
58     untracked = bold yellow
59 [merge]
60     verbosity = 1
61     conflictstyle = diff3
62 [clean]
63     requireForce = false
64 [pack]
65     threads = 0
66 [advice]
67     pushNonFastForward = false
68     statusHints = false
69 [status]
70     submodulesummary = 1
71
72 [merge "dpkg-mergechangelogs"]
73     name = debian/changelog merge driver
74     driver = dpkg-mergechangelogs -m %O %A %B %A
75 [sendemail]
76     aliasesfile = /home/madcoder/.mutt/aliases
77     aliasfiletype = mutt
78
79 [url "gitolite@git.corp:"]
80     insteadOf = ssh://git.corp/srv/git/
81     insteadOf = git.corp:/srv/git/
82 [reviewboard]
83     url = http://reviews.corp/
84 [url "git://anonscm.debian.org"]
85     insteadOf = git://git.debian.org
86     insteadOf = git.debian.org:
87 [url "ssh://git.debian.org"]
88     pushInsteadOf = git://git.debian.org
89     pushInsteadOf = git.debian.org:
90
91 [branch "*"]
92     mergeoptions = -Xpatience