When parsing and applying the implementation of .gitignore class rules, configuration optimization of .gitignore files
1. Reference:https://www.shuijingwanwq.com/2022/06/10/6593/, based on Togos/phpGitIgnore for parsing and applying .gitignore class rules implementation
2. Now expect that the /css, /images, /js, /locales, webpack.mix.js and other files in the /assets/apps/ directory should be ignored. The current configuration is as follows. as shown in Figure 1
/apps/**/css/*
/apps/**/images/*
/apps/**/js/*
/apps/**/locales/*
/apps/**/webpack.mix.js
3. This stage has not been ignored. For example: /apps/object/backtop/js/backtop.jsx, which should be ignored. as shown in 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. Ignore files. # Ignore the .pdf file doc/**/*.pdf under the doc/ directory and all its subdirectories, and confirm that togos/phpgitignore does not support ** . File: apps/object/backtop/js/backtop.jsx has not been ignored. as shown in Figure 3
apps/**/*.jsx
5. Confirm that only .php files need to be kept in the /apps directory, and other files can be ignored. The editing configuration items are as follows. File: apps/object/backtop/js/backtop.jsx has been ignored, in line with expectations, and only .php files are retained. as shown in Figure 4
/apps/*/*/css/*
/apps/*/*/images/*
/apps/*/*/js/*
/apps/*/*/locales/*
/apps/*/*/webpack.mix.js



