git/.config/git/config

46 lines
1.1 KiB
Plaintext

[user]
email = adam@adamgoldsmith.name
name = Adam Goldsmith
[pull]
ff = only
[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
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
# URL Specific stuff
[url "gitea@git.adamgoldsmith.name:"]
pushInsteadOf = https://git.adamgoldsmith.name/
[url "github:"]
pushInsteadOf = https://github.com/
[url "git@gist.github.com:"]
pushInsteadOf = https://gist.github.com/ad1217/
[url "git@gitlab.com:"]
pushInsteadOf = https://gitlab.com/
[url "aur:"]
pushInsteadOf = https://aur.archlinux.org/
[url "heroku:"]
insteadOf = https://git.heroku.com/
[url "git@cmsGit:"]
pushInsteadOf = https://git.claremontmakerspace.org/