dotfiles/git/.gitconfig
2022-12-12 09:03:53 -05:00

42 lines
1.3 KiB
INI

[alias]
fancy-graph = log --graph --decorate --pretty=oneline --abbrev-commit
hist = log --graph --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
hist-details = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
hist-tags = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
most-recent-by-branch = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
root = rev-parse --show-toplevel
[commit]
gpgsign = true
[core]
autocrlf = input
attributesfile = ~/.config/git/gitattributes_global
excludesfile = ~/.config/git/gitignore_global
[github]
username = atomaka
[gpg]
program = gpg
[merge]
tool = vimdiff
[pull]
rebase = false
[status]
showUntrackedFiles = all
[user]
email = atomaka@atomaka.com
name = Andrew Tomaka
signingkey = 61209BF70A5B18BE
[diff "enc"]
textconv = bundle exec rails encrypted:show
cachetextconv = false
[includeIf "gitdir:~/Source/work/"]
path = ~/.config/git/gitconfig_mudflap