Skip to content

Instantly share code, notes, and snippets.

@jordanbtucker
Last active January 17, 2022 14:51
Show Gist options
  • Save jordanbtucker/17b6c3c7cdaca12327d0 to your computer and use it in GitHub Desktop.
Save jordanbtucker/17b6c3c7cdaca12327d0 to your computer and use it in GitHub Desktop.
Remove unwanted commits from your PR
> git reset --hard <commit>
> git rebase -i upstream/<branch>
> git push -f origin <branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment