git - How do I delete a merge from github, permanently? -


i accidently merged project project had nothing it, didn't want do. unmerged projects. however, want delete erroneous commits. how do this.

i tried using git rebase, doesn't display merge.

if have unmerged projects (which assume did through git reset --hard head~n), need force changes onto "mainline" via a:

git push -f 

please note isn't advised unless know sure no 1 pulled "mainline" after accidentally made undesired commit.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -