Git is not detecting a file and is not in .gitignore

前端 未结 16 1419
执念已碎
执念已碎 2020-12-05 04:19

I have a file called \"style.css\" and git is not detecting it. It doesn\'t detect it if I delete it either, but it does detect if I change the name of the file. But I need

16条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 04:43

    some want to add an empty folder for some reasons If the content of the folder is empty, then there is no reason for git to mention it.

    A convention says that you might want to add a file .keep to it. which could also any other file.

    see here or here

提交回复
热议问题