dotfiles/.gitconfig

31 lines
1.0 KiB
INI
Raw Normal View History

2018-04-05 12:34:27 +02:00
[user]
email = tobias.manske@mailbox.org
name = Tobias Manske
2020-05-22 13:10:59 +02:00
signingkey = FF57750B830AA3A1
2018-04-05 12:34:27 +02:00
[alias]
2018-06-10 21:56:57 +02:00
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
2020-05-22 13:10:59 +02:00
fzf = "!git lg --color=always | fzf --multi --preview 'git show --color=always {+2}' --ansi"
2018-04-05 12:34:27 +02:00
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
2018-04-07 03:50:21 +02:00
undo = reset HEAD~
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
2018-04-05 12:34:27 +02:00
[commit]
gpgsign = true
template = ~/.gitmessage
2018-04-05 12:34:27 +02:00
[core]
autocrlf = input
pager = delta
[github]
user = rad4day
2021-02-10 02:28:11 +01:00
[pull]
rebase = true
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
syntax-theme = OneHalfDark
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none