git says “not under version control” for just-checked-out file

后端 未结 5 690
梦毁少年i
梦毁少年i 2021-02-08 19:37

I have the distinct impression my Git repo is somehow mangled.

Here\'s the sequence I\'m doing:

  1. git clone [remote\'s clone string]

    This creates,

5条回答
  •  我寻月下人不归
    2021-02-08 20:05

    All the answers above are great, I found this when trying to move files, and Capitalize them during the same commit

    By committing my new file path, I could access the new path and then git mv (:

    problem solved

提交回复
热议问题