Git submodule absolute worktree path config

前端 未结 3 574
滥情空心
滥情空心 2021-02-05 17:46

This is my submodule redmine_dashboard config file:

Submodule config file:

[core]
    repositoryformatversion = 0
    filemode = true
         


        
3条回答
  •  抹茶落季
    2021-02-05 18:15

    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 or GIT_DIR, or automatically discovered.
    If --git-dir or GIT_DIR are specified but none of --work-tree, GIT_WORK_TREE and core.worktree is specified, the current working directory is regarded as the root of the work tree.

提交回复
热议问题