Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove staged files git

git reset HEAD -- path/to/file

#To reset everything

git reset HEAD -- .
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #staged #files #git
ADD COMMENT
Topic
Name
3+3 =