Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git discard staged changes

git reset HEAD
git checkout .
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #discard #staged
ADD COMMENT
Topic
Name
6+2 =