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
Post a Comment