added git config defaults and overrides

This commit is contained in:
Tyler Mayoff 2025-10-31 14:54:18 -04:00 committed by Tyle Mayoff
parent 69ab4faed2
commit c81dbe25ed
No known key found for this signature in database
3 changed files with 52 additions and 17 deletions

23
dot_config/git/config.old Normal file
View file

@ -0,0 +1,23 @@
[init]
defaultBranch = main
[author]
email = tyler@tylermayoff.com
name = Tyler Mayoff
[user]
email = tyler@tylermayoff.com
name = Tyler Mayoff
[core]
excludesFile = ~/.config/git/gitignore
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait --merge $REMOTE $LOCAL $BASE $MERGED
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[pull]
rebase = true
[push]
autoSetupRemote = true