Improved git config

This commit is contained in:
2024-06-14 01:39:20 +02:00
parent b45e45939a
commit 1b8d2d0a3c
6 changed files with 40 additions and 29 deletions

23
git/profiles/common Normal file
View File

@@ -0,0 +1,23 @@
[push]
default = simple
[core]
excludesfile = ~/.dotfiles/git/gitignore
[color]
ui = true
[credential]
helper = store
[pull]
; If we pull we only want to fast forward, if that is not possible we should not allow pull to work
; Instead use fetch and then either rebase or merge
ff = only
; rebase = false
[diff]
tool = nvimdiff
[init]
defaultBranch = master