This is my submodule redmine_dashboard config file:
[core]
repositoryformatversion = 0
filemode = true
Note that the git config man page mentions:
core.worktree
Set the path to the root of the work tree. This can be overridden by the
GIT_WORK_TREE
environment variable and the--work-tree
command line option.
It can be an absolute path or a relative path to the.git
directory, either specified by--git-dir
orGIT_DIR
, or automatically discovered.
If--git-dir
orGIT_DIR
are specified but none of--work-tree
,GIT_WORK_TREE
andcore.worktree
is specified, the current working directory is regarded as the root of the work tree.