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
  • 558
  • 2
  • 9
  • 31
Birdman
  • 1,404
  • 5
  • 22
  • 49

0 Answers0