You can unstage/undo or undo using the gitgit command or GUI gitGit.
Single file
git reset File.txt
Multiple files
git reset File1.txt File2.txt File3.txt
Example
Example - Suppose Suppose you have added Home.js, ListItem.js, Update.js by mistake ,
and want to undo/reset =>
git reset src/components/home/Home.js src/components/listItem/ListItem.js src/components/update/Update.js
Same ExampleThe same example using gitGit GUI
git gui
opensOpens a window =>. Uncheck your files from Staged changes (Will Commitwill commit)