Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git revert all local changes

git reset; git checkout .; git reset --hard HEAD; git clean -fdx; 
git fetch --all; git pull
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #revert #local
ADD COMMENT
Topic
Name
7+2 =