I think that a 2nd commit + push with the reverse shall be the best fix

On Sat, Jul 24, 2021 at 12:41 AM Weston Pace <weston.p...@gmail.com> wrote:

> Well it did not take long for me to make a mistake.  I accidentally
> pushed a commit to master instead of my remote when creating a PR.
> What is the best way to remedy this?  Push a revert? Since it is
> protected I cannot force push to reset back to where it was (not that
> I would necessarily want to do that).
>
> I have updated my master and removed the upstream (that probably
> should never have been there) so hopefully this won't happen again.
>
> -Weston
>


-- 
—
*Mauricio 'Pachá' Vargas Sepúlveda*
Site: pacha.dev
Blog: pacha.dev/blog

Reply via email to