dotfiles/.gitconfig
Tobias Manske a3fac1d9f6
GIT: Signed-off-by message as default
Added a new '.gitmessage' file which is to be used as a commit message
template, containing my Signed-off-by notice. Now all my commits contain
this message, not only those done in an IDE.

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
2018-09-01 11:20:43 +02:00

15 lines
575 B
INI

[user]
email = tobias.manske@mailbox.org
name = Tobias Manske
signingkey = 978D99F12D4E041F
[alias]
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
cu = "!git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
undo = reset HEAD~
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; } ; gi"
[commit]
gpgsign = true
template = ~/.gitmessage
[core]
autocrlf = input