cfg/.gitconfig

66 lines
1.2 KiB
INI
Raw Normal View History

[alias]
br = branch
ci = commit
co = checkout
df = diff
lg = "log --color --graph --pretty=format:'%Cred%h%Creset %Cgreen(%ci)%Creset [%G?]%C(yellow)%d%Creset %s %C(bold blue)<%an / %cn>%Creset' --abbrev-commit"
ri = rebase --interactive --autosquash
st = status
2016-07-21 13:41:17 +00:00
[branch]
autosetuprebase = always
2016-07-21 13:41:17 +00:00
[color]
branch = auto
2016-07-21 13:41:17 +00:00
diff = auto
status = auto
[commit]
gpgsign = true
[core]
bare = false
excludesfile = ~/.gitignore_global
filemode = true
logallrefupdates = true
pager = less -F -X
repositoryformatversion = 0
warnAmbiguousRefs = false
2016-07-21 13:41:17 +00:00
[diff]
renames = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[gpg]
program = gpg2
2016-07-21 13:41:17 +00:00
[push]
default = upstream
2016-07-21 13:41:17 +00:00
gpgSign = if-asked
[receive]
denyNonFastForwards = true
[rerere]
enabled = true
2016-07-21 13:41:17 +00:00
[user]
email = knut@ahlers.me
name = Knut Ahlers
signingkey = D215AD7D
# Mappings for private repos and `go get`
[url "ssh://git@github.com/contentflow/"]
insteadOf = https://github.com/contentflow/
[url "ssh://git@github.com/FFWedel/"]
insteadOf = https://github.com/FFWedel/
[url "ssh://git@github.com/Luzifer/"]
insteadOf = https://github.com/Luzifer/