Remove file contents from [[Staging Area (git)|staging area]]. [^1] ```sh git rm . # unselect all changes git rm file.txt # unselect a specific file ``` [^1]: https://git-scm.com/docs/git-rm