]> git.madduck.net Git - etc/git.git/blob - .gitconfig

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

configure sensible editor
[etc/git.git] / .gitconfig
1 [user]
2         name = martin f. krafft
3         email = madduck@madduck.net
4         signingkey = 999bbcc4
5 [core]
6         pager = "less --quit-if-one-screen --raw-control-chars --no-init --hilite-search --SILENT"
7         quotePath = false
8         editor = sensible-editor +start
9 [diff]
10         renames = copies
11 [alias]
12         dist = "!git archive --format=tar -v --prefix=$(git describe HEAD | sed -e 's,-,///,;s,-,+,g;s,///,-,')/ HEAD | gzip -9 > ../$(git describe HEAD | sed -e 's,-,///,;s,-,+,g;s,///,-,').tar.gz"
13         ddist = "!git dist && mv ../$(git describe HEAD | sed -e 's,-,///,;s,-,+,g;s,///,-,').tar.gz ../$(git describe HEAD | sed -e 's,-,_,;s,-,+,g').orig.tar.gz"
14         files = ls-files -v --deleted --modified --others --directory --no-empty-directory --exclude-standard
15         sum = log --pretty=format:\"%h %Cblue%ci%Creset %Cgreen%cn%Creset %s\"
16         unstage = reset HEAD
17         sq = "!merge_squash_commit() { git merge --squash \"$1\" && git commit -m \"$1 squash\"; }; merge_squash_commit"
18         fixup = "!fixup_commit() { local c=\"$1\"; shift; git commit --fixup=\"$c\" \"$@\"; }; fixup_commit"
19         lst = "!cd $GIT_PREFIX && git status | grep -E --color=never -e '^([^[:space:]]|$|[[:space:]]+[^.( ])'"
20 [clean]
21         requireForce = true
22 [branch]
23         autosetupmerge = true
24         autosetuprebase = remote
25 [merge]
26         tool = vimdiff
27 [merge "dpkg-mergechangelogs"]
28         name = debian/changelog merge driver
29         driver = dpkg-mergechangelogs -m %O %A %B %A
30 [diff]
31         tool = vimdiff
32 [gui]
33         fontui = -family rotissansserif -size 10 -weight bold -slant roman -underline 0 -overstrike 0
34 [color]
35         branch = auto
36         diff = auto
37         interactive = auto
38         status = auto
39         ui = auto
40 [url "ssh://git.debian.org/git/"]
41         insteadOf = alioth:
42 [url "ssh://git@git.madduck.net/madduck/"]
43         insteadOf = madduck:
44 [url "git://git.madduck.net/madduck/pub/"]
45         insteadOf = madduck-anon:
46 [url "ssh://git@git.madduck.net/madduck/pub/"]
47         pushInsteadOf = madduck-anon:
48 [url "ssh://git@git.madduck.net/madduck/pub/"]
49         pushInsteadOf = git://git.madduck.net/madduck/pub/
50 [url "ssh://git.madduck.net/madduck/pub/"]
51         insteadOf = madduck-pub:
52 [url "ssh://git@git.madduck.net/gitolite-admin"]
53         insteadOf = gitolite-admin:
54 [url "ssh://git@admin.madduck.net/"]
55         insteadOf = sysadmin:
56 [push]
57         default = matching
58 [sendemail]
59         confirm = auto
60         assume8bitEncoding = true
61 [help]
62         autocorrect = 5
63 [format]
64         signoff = true
65 [rerere]
66         enabled = true
67 [rebase]
68         autosquash = true
69 [pull]
70         rebase = merges
71 [advice]
72         ignoredHook = false