Skip to content

Instantly share code, notes, and snippets.

@AABur
Forked from half2me/rem.sh
Created April 19, 2022 09:53
Show Gist options
  • Select an option

  • Save AABur/3f2503759b97249310486a1d51769b3d to your computer and use it in GitHub Desktop.

Select an option

Save AABur/3f2503759b97249310486a1d51769b3d to your computer and use it in GitHub Desktop.
Remove file from PR
git checkout pr-branch
git reset origin/master -- /path/to/file
git commit
git checkout -- . # or git reset --hard @
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment