When deleting a folder or a bunch files from a project that uses Git I've always added the deleted files manually. git add .
never staged those deletions.
Finally found out a way to just stage all the deleted files. Simply:
$ git add -u
From man git-add
-u, --update
Only match
never stage new files, but that it will stage modified new contents of tracked files and that it will remove files from the
index if the corresponding files in the working tree have been removed.
If no