.dotfiles/git/config

19 lines
476 B
Plaintext
Raw Permalink Normal View History

2023-05-30 22:45:28 +02:00
[user]
name = Matej Janežič
email = janezic.mj@gmail.com
[core]
autocrlf = input
excludesfile = ~/.config/git/gitignore
editor = nvim
[include]
path = ~/.config/git/alias
[include]
path = ~/.config/git/commitsign
[includeIf "gitdir:~/Desktop/git/git.aflabs.org/"]
path = ~/.config/git/aflabs
2023-05-30 22:45:28 +02:00
[init]
defaultBranch = main
[alias]
blame = "!f() { [ -f .git-blame-ignore-revs ] && git blame --ignore-revs-file .git-blame-ignore-revs \"$@\" || git blame \"$@\"; }; f"