git/.config/git/config

33 lines
887 B
Plaintext

[user]
email = adam@adamgoldsmith.name
name = Adam Goldsmith
[push]
default = simple
[core]
editor = emacsclient -t
[colors]
ui = true
[alias]
serve = !git daemon --base-path=. --export-all --reuseaddr --informative-errors --verbose
hub = !git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --informative-errors --verbose
[credential]
helper = /usr/bin/env ~/.config/git/git-credential-netrc -f ~/.netrc.gpg -v
[diff "gpg"]
textconv = gpg --no-tty --decrypt -q
# URL Specific stuff
[url "https://adamgoldsmith.name/cgit/"]
insteadOf = http://adamgoldsmith.name/cgit/
[url "ag:/srv/git/"]
pushInsteadOf = https://adamgoldsmith.name/cgit/
pushInsteadOf = http://adamgoldsmith.name/cgit/
[url "github:"]
pushInsteadOf = https://github.com/
[url "aur:"]
pushInsteadOf = https://aur.archlinux.org/
[url "heroku:"]
insteadOf = https://git.heroku.com/