mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-25 04:51:31 +01:00
827843d8bd
gitignore should be symlinked to ~/.config/git/ignore
see a3f74bf
37 lines
662 B
Plaintext
37 lines
662 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'"
|