nix-dotfiles/.gitconfig
ahuston-0 3445436a32 add comment for mergetool usage, ignore mergetool artifacts
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-04-28 16:41:25 +00:00

7 lines
359 B
INI

# run `grep -Pv "^#" .gitconfig >> .git/config` to append the merge config to your repo file :)
# run `git mergetool --tool=sops-mergetool <path to secret>/secrets.yaml` to use this once configured
[mergetool "sops-mergetool"]
cmd = bash -c "$(git --exec-path)/sops-mergetool.sh \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\""
[merge]
tool = nvimdiff3