简体   繁体   中英

Why did Git stopped tracking added files in sub directory?

I have a sub directory that has suddenly stopped tracking new file additions.
If I change a filename, it sees it has been deleted and all changes to existing files are being tracked.
Other new files are being tracked in different sub directories...

I am not using sub modules and there is no .git directory in the affected sub directory

I have tried to do a git update-index --really-refresh and it did nothing.

I am using git extensions under windows.

How would you troubleshoot that situation?

Not sure what happened with it but I changed the name of the folder and the new files were tracked again. It appears that the name of the folder was polluted somehow. Does anyone know of a way to fix this and my answer for the time being is just to change the folder name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM