Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git reset remote

# local
git reset <commit-hash>
# or
git reset --hard <commit-hash>

# remote
git push -f origin master
Source by help.github.com #
 
PREVIOUS NEXT
Tagged: #git #reset #remote
ADD COMMENT
Topic
Name
1+1 =