Git untracked files list is wrong

前端 未结 8 1977
南方客
南方客 2020-12-29 02:59

Somehow, git got it in its head that I have an untracked file (A directory that has been in my repository for quite some time, ~17 months). At any rate, I can\'t seem to con

相关标签:
8条回答
  • 2020-12-29 03:42

    Same issue i got and i solved

    git clean -f -n
    
    0 讨论(0)
  • 2020-12-29 03:45

    Recreate the file or directory

    mkdir -p rosetta_tests/profile/tests/docking/
    

    And then remove it again.

    rm -rf rosetta_tests/profile/tests/docking/
    
    0 讨论(0)
提交回复
热议问题