How to remove staged changes from git?

git reset

In case you want to remove only a specific file(s), then you can mention the name of the file(s) like this:

# To remove a single file
git reset filename.ext

# You can also remove bunch of files using simple rejex expressions
git reset content/*.png
Originally Posted On: Agaric