dot_files/.config/git/config
Jesse Hitch c8b429eef9 fix gitconfig upstream branch push; fix python nvim issue
- set autoSetupRemote default to current branch for upstream
- fixes nvim python detection issue: setting a variable for python path
2023-01-03 17:01:08 +00:00

33 lines
672 B
Text

# set better default colors
[color]
ui = auto
[color "branch"]
current = green bold
local = green dim
remote = blue
[color "diff"]
meta = yellow bold
frag = magenta ul
old = magenta bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = magenta
# set the default branch to main
[init]
defaultBranch = main
# always push up local branches to the remote origin
[push]
autoSetupRemote = true
default = current
# default rebase commits to avoid merge issues
[pull]
rebase = true
# personal stuff like gpg config, username, etc
[includeIf "gitdir:~/"]
path = ~/.config/git/personal