in .gitignore what is the difference between using

/bin

and

bin/

And how would I make it so that it removes a certain file, no matter where it is?

*/*.ext
Edit
Report