Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove local changes git

git fetch  # will fetch the latest changes on the remote
git reset --hard origin/master # will set your local branch to match the representation of the remote just pulled down.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #local #git
ADD COMMENT
Topic
Name
7+8 =