Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git force push after reset

git push -f origin myBranch

#Note: if your remote repo ('origin') has its config set with
#receive.denyNonFastForwards true
#it will deny any non fast-forward push (even when forced).
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #force #push #reset
ADD COMMENT
Topic
Name
9+3 =