mirror of
https://github.com/artizirk/dotfiles.git
synced 2025-12-15 06:35:12 +02:00
Add useful git options from blog post
* https://jvns.ca/blog/2024/02/16/popular-git-config-options/
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
[merge]
|
[merge]
|
||||||
tool = meld
|
tool = meld
|
||||||
conflictStyle = zdiff3
|
conflictStyle = zdiff3
|
||||||
|
keepbackup = false
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
plog = log --graph --pretty=format:'%h -%d %s %n' --abbrev-commit --date=relative --branches
|
plog = log --graph --pretty=format:'%h -%d %s %n' --abbrev-commit --date=relative --branches
|
||||||
@@ -27,6 +28,7 @@
|
|||||||
smtpServerPort = 587
|
smtpServerPort = 587
|
||||||
[diff]
|
[diff]
|
||||||
wsErrorHighlight = all
|
wsErrorHighlight = all
|
||||||
|
algorithm = histogram
|
||||||
[cola]
|
[cola]
|
||||||
spellcheck = false
|
spellcheck = false
|
||||||
[push]
|
[push]
|
||||||
@@ -58,3 +60,9 @@
|
|||||||
allow = always
|
allow = always
|
||||||
[column]
|
[column]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
[rebase]
|
||||||
|
autosquash = true
|
||||||
|
[branch]
|
||||||
|
sort = -committerdate
|
||||||
|
[fetch]
|
||||||
|
prune = true
|
||||||
|
|||||||
Reference in New Issue
Block a user