Stage all but one folder

git

Solution

git add .
git reset -- somefolder_to_exclude

Problem

I have a project containing a few modules. There were some commits previously. How do I stage all the files (modified, deleted, created) and folders in the project but the one specific folder and all files in it?

Original source

Related problems