Let's say I have this dir structure:
/project1 /SomeFolder /obj /bin /project2 /obj /bin
Let's say each directory has source files I want to check in, but I don't want to check in /obj and /bin directories or their contents...
The way I did was
git add .
and than browse to each dir and do
git rm obj
git rm bin
As you can imagine this gets tedious especially if there are many directories... What is a better way to do something like that? Namely add multiple files with some exceptions, or remove all subdirectories with certain name?
update
to update multiple directories this will also work:
git rm */obj