0

I have a directory for IntelliJ I would like to leave out of my repo (the 'out' folder).

I tried to add this to my git ignore file:

*/out/*

I tried all sorts of variants of this. None of them work without filling out the entire exact path to the directory. So this is working:

someDir/AnotherDir/AnotherAnotherDir/out/

How do I use gitignore with asterisks?

abunickabhi
  • 562
  • 2
  • 10
  • 27
Birdman
  • 1,144
  • 1
  • 19
  • 42

0 Answers0