1. Reference: Implementation based on TOGoS/PHPGitIgnore for parsing and applying .gitignore-style rules
2. Current expectation: files such as /css, /images, /js, /locales, and webpack.mix.js under the /assets/apps/ directory should be ignored. The current configuration is as follows. See Figure 1

/apps/**/css/*
/apps/**/images/*
/apps/**/js/*
/apps/**/locales/*
/apps/**/webpack.mix.js
3. At this stage, they are not being ignored. For example, the file /apps/object/BackTop/js/BackTop.jsx should have been ignored. See Figure 2

4. Reference: https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E8%AE%B0%E5%BD%95%E6%AF%8F%E6%AC%A1%E6%9B%B4%E6%96%B0%E5%88%B0%E4%BB%93%E5%BA%93 . Ignoring files. # Ignore .pdf files in the doc/ directory and all its subdirectories doc/**/*.pdf. Confirmed that TOGoS/PHPGitIgnore does not support ** . The file apps/object/BackTop/js/BackTop.jsx is not ignored. See Figure 3

apps/**/*.jsx
5. Confirmed that only .php files need to be retained under the /apps directory, and all other files can be ignored. Edited the configuration items as follows. The file apps/object/BackTop/js/BackTop.jsx has been ignored as expected, and only .php files are retained. See Figure 4

/apps/*/*/css/*
/apps/*/*/images/*
/apps/*/*/js/*
/apps/*/*/locales/*
/apps/*/*/webpack.mix.js
