Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git reset fork

git remote add upstream /url/to/original/repo
git fetch upstream
git checkout master
git reset --hard upstream/master  
git push origin master --force 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #reset #fork
ADD COMMENT
Topic
Name
1+2 =