Created
July 25, 2018 11:17
-
-
Save half2me/211d1d6b30a074479d181440af56c31f to your computer and use it in GitHub Desktop.
Remove file from PR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout pr-branch | |
git reset origin/master -- /path/to/file | |
git commit | |
git checkout -- . # or git reset --hard @ | |
git push |
Saved me from reading the git docs
Saved me from reading the git docs
lol, was worth the effort then :P
Champion class git going on here. ✅
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was very helpful!