Git switch branch ignore files are gone

the gitignore setting ignores database files. It is different to add database, in Branch An and switch to Branch B to add database for database,2 branches. Sometimes switching back and forth will cause all the ignored files originally added in A to disappear, leaving only the directory. This is what"s going on

Git
Feb.23,2022

I have the same problem as you. Has the landlord solved it? how to solve it?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38144-2c0c7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38144-2c0c7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?