dotfiles/.gitconfig

18 lines
697 B
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
[github]
user = rad4day