mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-24 12:31:31 +01:00
update git config
This commit is contained in:
parent
a02fa47017
commit
fc70cb13a8
16
gitconfig
16
gitconfig
|
@ -1,6 +1,10 @@
|
||||||
|
# vi:syntax=gitconfig
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
|
|
||||||
|
#[init]
|
||||||
|
# templatedir = ~/.git_template
|
||||||
|
|
||||||
[pull]
|
[pull]
|
||||||
ff = only
|
ff = only
|
||||||
rebase = true
|
rebase = true
|
||||||
|
@ -9,12 +13,24 @@ rebase = true
|
||||||
ff = only
|
ff = only
|
||||||
tool = vimdiff2
|
tool = vimdiff2
|
||||||
|
|
||||||
|
[mergetool]
|
||||||
|
keepBackup = false
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
tool = vimdiff2
|
tool = vimdiff2
|
||||||
|
|
||||||
|
[difftool]
|
||||||
|
prompt=true
|
||||||
[rebase]
|
[rebase]
|
||||||
autostash = true
|
autostash = true
|
||||||
autosquash = true
|
autosquash = true
|
||||||
|
squash = true
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
abbrevcommit = true
|
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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user