Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 227 Bytes

remove-staged-files.md

File metadata and controls

14 lines (9 loc) · 227 Bytes

Remove staged files

If you have added files using git add . and you want to remove a single file then use this:

git reset filename.txt

Or if you want to remove all the staged files then use:

git reset