1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-23 15:51:32 +01:00
dotfiles/gitconfig
2023-09-15 10:23:01 +02:00

38 lines
663 B
Plaintext

# vi:syntax=gitconfig
#[core] # DEPRECATED: excludesfile should be in ~/.config/git/ignore
#excludesfile = ~/.gitignore
#[init]
# templatedir = ~/.git_template
[pull]
ff = only
rebase = true
[merge]
ff = only
tool = vimdiff
[mergetool]
keepBackup = false
[diff]
tool = vimdiff
[difftool]
prompt=true
[rebase]
autostash = true
autosquash = true
squash = true
[log]
abbrevcommit = true
[format]
[alias]
showtool = "!showci () { rev=${1:-HEAD}; git difftool $rev~1 $rev; }; showci $1"
mylog = "log --pretty='format:👉 %C(yellow)commit: %h%C(auto)%d %Creset%nAuthor: %C(auto,cyan)%>(12)%an (%aE)%n%C(reset)Date: %C(auto,green)%ar%Creset%nContent: %s'"