Miguel Angel Acevedo
Faulty Developer

Follow

Faulty Developer

Follow

GIT file to ignore all files inside a folder

Miguel Angel Acevedo's photo
Miguel Angel Acevedo
·Jan 4, 2023·

1 min read

Play this article

Just create the folder you want to use but ignore all the files inside, for example, tmp and create the file .gitignore inside that folder.

./tmp/.gitignore

*
*/
!.gitignore
 
Share this