I have a directory structure like this:
.git/ .gitignore main/ ... tools/ ... ...
Inside main and tools, and any other directory, at an
Literally none of the answers actually worked for me; the only one that worked for me was (on Linux):
**/bin (yes without the / in the end) git version 2.18.0