7

How to ignore all folders with name build, bin. I tried doing this

**/bin/
**/build/

but it doesn't work. in git status i see

#   new file:   BS/server/build/obj/sender.o
#   new file:   BS/server/build/obj/sendistate.o
#   new file:   BS/server/build/obj/serializedata.o
#   new file:   BS/client/bin/gc.sample.xml
#   new file:   BS/client/bin/mkab.qss
#   new file:   BS/client/bin/mkaberr.qss
#   new file:   BS/client/build/debug/application.qss
#   new file:   BS/client/build/debug/config.xml
devnull
  • 118,548
  • 33
  • 236
  • 227
k_zaur_k
  • 400
  • 1
  • 6
  • 16

1 Answers1

6

If you want to ignore directory, you should be "directoryname/". For example

bin/
build/
ton
  • 1,524
  • 13
  • 10