Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git pull override local changes

git fetch origin master
git reset --hard origin/master
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #pull #override #local
ADD COMMENT
Topic
Name
2+9 =