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

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