chore: up

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2023-08-08 01:02:01 -03:00
parent f893a5d054
commit a378bda131
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
25 changed files with 299 additions and 720 deletions

View file

@ -51,34 +51,37 @@
[tag]
gpgsign = true
[difftool]
prompt = true
[difftool "lvimdiff"]
cmd = ~/.local/bin/lvim -d "$LOCAL" "$REMOTE"
[diff]
# Your path might be different, but unlikely
# -- this needs to manually be set because
# -- GIT for Windows has it's own vim
# -- so it will run that instead.
; Set the editor to be used by GIT
tool = nvimdiff
tool = ~/.local/bin/lvim
[difftool]
prompt = true
[mergetool]
; https://www.git-scm.com/docs/git-mergetool#Documentation/git-mergetool.txt---no-prompt
prompt = false
[difftool "nvimdiff"]
cmd = "~/.local/bin/lvim -d \"$LOCAL\" \"$REMOTE\""
[mergetool "lvimdiff"]
cmd = ~/.local/bin/lvim -f -d -c '$wincmd w | wincmd J' "$LOCAL" "$BASE" "$REMOTE" "$MERGED"
[merge]
# Your path might be different, but unlikely
# -- this needs to manually be set because
# -- GIT for Windows has it's own vim
# -- so it will run that instead.
tool = edit -d
tool = lvimdiff
; https://git-scm.com/docs/git-merge#_how_conflicts_are_presented
conflictstyle = diff3
[mergetool]
; https://www.git-scm.com/docs/git-mergetool#Documentation/git-mergetool.txt---no-prompt
prompt = false
[push]
; https://stackoverflow.com/questions/21839651/git-what-is-the-difference-between-push-default-matching-and-simple
default = simple
@ -96,3 +99,6 @@
[init]
defaultBranch = main
[credential]
helper = /usr/libexec/git-core/git-credential-libsecret