Answers for "how do you clear files staged for commit"

-1

remove file from stage git

git rm --cached <file>
Posted by: Guest on March-23-2020
0

git remove staged area

$ git reset HEAD file
# Or everything
$ git reset HEAD .
Posted by: Guest on July-25-2020

Code answers related to "how do you clear files staged for commit"

Browse Popular Code Answers by Language