I would like to run
git reset *.foo
but this errors out.
I think I need to use a pipe, but I\'m not sure how to do this.
Th
White space in filename was causing problems using the git diff approaches but the following worked:
git diff
find ./ -name "*.foo" -exec git reset {} \;
Execution is verbose if there are many files to be unstaged.