Overview
- Path
.git/config
- Submodule Path
.git/modules/_notes/config
Recommended Settings
.git/config
[user]
name = NAME
email = EMAIL
[core]
# Ignores case differences in file names?
ignorecase = false
[remote "origin"]
url = URL
fetch = +refs/heads/*:refs/remotes/origin/*
[push]
# If set to "true" assume --set-upstream on default push when no upstream tracking exists for the current branch.
# It is useful if by default you want new branches to be pushed to the default remote (like the behavior of 'push.default=current') and you also want the upstream tracking to be set.
autoSetupRemote = true
# All submodules that changed in the revisions to be pushed will be pushed.
recurseSubmodules = on-demand
[branch "main"]
remote = origin
merge = refs/heads/main
vscode-merge-base = origin/main
[submodule "content/submodule"]
update = rebase
# SmartGit Specific Settings
[smartgit "submodule"]
fetchalways = true