gitignore ignores a directory, but keeps some files in that directory

/addons/*
!/addons/wuji_*

  

Ignore the / addons directory

But does not include files and folders starting with wuji_ in the / addons directory

Guess you like

Origin www.cnblogs.com/gantoday/p/12717953.html