使用.gitignore反向选择,我只是想跟踪app目录。app是emply下的二级目录。
我使用了以下代码,但是 git 没有跟踪任何内容
* !*/ !*/app
我已经测试过类似的问题,照着写,但是无效
git gitignore
git ×1
gitignore ×1