mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-30 19:21:30 +01:00
37 lines
539 B
Plaintext
37 lines
539 B
Plaintext
# vi:syntax=gitconfig
|
|
[core]
|
|
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]
|
|
#pretty = format:%C(yellow)commit %h%Cred%d %Creset%nAuthor: %Cblue%>(12)%an%n%CgreenDate: %ar%Creset%n%n%B
|
|
|
|
[alias]
|
|
showtool = "!showci () { rev=${1:-HEAD}; git difftool $rev~1 $rev; }; showci $1"
|