Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git pull master discard local changes

git reset --hard origin/master
git pull origin master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #pull #master #discard #local
ADD COMMENT
Topic
Name
5+3 =