I have a directory structure like this:
.git/ .gitignore main/ ... tools/ ... ...
Inside main and tools, and any other directory, at an
The .gitignore of your dream seems to be:
.gitignore
bin/
on the top level.