Why isn't Git tracking changes in a subdirectory?

后端 未结 8 981
萌比男神i
萌比男神i 2020-12-15 07:52

I\'ve created git repository, added code and pushed it to GitHub.

Then locally, I\'ve edited the file Eila.Analyser/Program.cs, that was added to GitHu

8条回答
  •  再見小時候
    2020-12-15 08:30

    For me, the problem was that I had a filename in my .gitignore file which did not exist. Removing this invalid filename from .gitignore solved the problem. Also, I deleted all the .gitignore files from subdirectories and only kept the top-level .gitignore file.

提交回复
热议问题