]> 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:

url alias cleanups
[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 [diff]
9         renames = copies
10 [alias]
11         restore = checkout HEAD
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         st = status
15         co = checkout
16         ci = commit -a
17         stat = status
18         files = ls-files -v --deleted --modified --others --directory --no-empty-directory --exclude-standard
19         sum = log --pretty=format:\"%h %Cblue%ci%Creset %Cgreen%cn%Creset %s\"
20         unstage = reset HEAD
21         sq = "!merge_squash_commit() { git merge --squash \"$1\" && git commit -m \"$1 squash\"; }; merge_squash_commit"
22         fixup = "!fixup_commit() { local c=\"$1\"; shift; git commit --fixup=\"$c\" \"$@\"; }; fixup_commit"
23 [clean]
24         requireForce = true
25 [branch]
26         autosetupmerge = true
27         autosetuprebase = remote
28 [merge]
29         tool = vimdiff
30 [merge "dpkg-mergechangelogs"]
31         name = debian/changelog merge driver
32         driver = dpkg-mergechangelogs -m %O %A %B %A
33 [diff]
34         tool = vimdiff
35 [gui]
36         fontui = -family rotissansserif -size 10 -weight bold -slant roman -underline 0 -overstrike 0
37 [color]
38         branch = auto
39         diff = auto
40         interactive = auto
41         status = auto
42         ui = auto
43 [url "ssh://git.debian.org/git/"]
44         insteadOf = alioth:
45 [url "ssh://git@git.madduck.net/madduck/"]
46         insteadOf = madduck:
47 [url "git://git.madduck.net/madduck/pub/"]
48         insteadOf = madduck-anon:
49 [url "ssh://git@git.madduck.net/madduck/pub/"]
50         pushInsteadOf = madduck-anon:
51 [url "ssh://git@git.madduck.net/madduck/pub/"]
52         pushInsteadOf = git://git.madduck.net/madduck/pub/
53 [url "ssh://git.gern.madduck.net/srv/git/"]
54         insteadOf = pmg:
55 [url "ssh://shared.gern.madduck.net/srv/gern/"]
56         insteadOf = pm:
57 [url "ssh://git@git.madduck.net/gitolite-admin"]
58         insteadOf = gitolite-admin:
59 [url "ssh://git@admin.madduck.net/"]
60         insteadOf = sysadmin:
61 [push]
62         default = matching
63 [sendemail]
64         confirm = auto
65         assume8bitEncoding = true
66 [help]
67         autocorrect = 5
68 [format]
69         signoff = true
70 [rerere]
71         enabled = true
72 [rebase]
73         autosquash = true