Skip to content

Commit cb8eb6d

Browse files
committed
git: update config
1 parent c3b81b7 commit cb8eb6d

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

git/gitconfig

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[merge]
1010
defaultToUpstream = true
1111
tool = vimdiff
12-
conflictstyle = diff3
12+
conflictstyle = zdiff3
1313
[core]
1414
editor = vim
1515
eol = native
@@ -27,6 +27,7 @@
2727
unstage = reset HEAD --
2828
[rerere]
2929
enabled = true
30+
autoupdate = true
3031
[branch]
3132
autoSetupMerge = always
3233
# Fetch also the merge requests data for common remotes
@@ -39,7 +40,10 @@
3940
fetch = +refs/merge-requests/*/head:refs/remotes/origin/merge-requests/*
4041
[diff]
4142
tool = vimdiff
42-
colormoved = default
43+
colorMoved = plain
44+
algorithm = histogram
45+
mnemonicPrefix = true
46+
renames = true
4347
[difftool]
4448
prompt = false
4549
[color.blame]
@@ -72,6 +76,7 @@
7276
light = false
7377
[pull]
7478
ff = only
79+
rebase = true
7580
[url "ssh://[email protected]/"]
7681
pushInsteadOf = https://github.com/
7782
[url "ssh://[email protected]/"]
@@ -80,3 +85,13 @@
8085
pushInsteadOf = https://bitbucket.org/
8186
[push]
8287
autoSetupRemote = true
88+
default = simple
89+
followTags = true
90+
[tag]
91+
sort = version:refname
92+
[fetch]
93+
prune = true
94+
pruneTags = true
95+
all = true
96+
[help]
97+
autocorrect = prompt

0 commit comments

Comments
 (0)