git clone followed by status shows untracked files

后端 未结 4 501
感动是毒
感动是毒 2021-02-05 09:22

Sorry, I\'m a git newbie (though I\'m very familiar with older source control systems like cvs and svn) ...

My ultimate goal is to add a file to a remote repository (one

4条回答
  •  耶瑟儿~
    2021-02-05 09:36

    git config -l

    if current git repository's core.precomposeunicode=true

    try this,

    git config core.precomposeunicode false

    and this is why. from here

    core.precomposeunicode This option is only used by Mac OS implementation of Git. When core.precomposeunicode=true, Git reverts the unicode decomposition of filenames done by Mac OS. This is useful when sharing a repository between Mac OS and Linux or Windows. (Git for Windows 1.7.10 or higher is needed, or Git under cygwin 1.7). When false, file names are handled fully transparent by Git, which is backward compatible with older versions of Git.

提交回复
热议问题