Created
August 26, 2020 22:05
-
-
Save Lecarvalho/74bceb22e85005291f1912fea1874614 to your computer and use it in GitHub Desktop.
revert a modified file from a pull-request - ex: dev web.config :D
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 pull-request-branch | |
git checkout origin/master -- src/main/java/HelloWorld.java | |
git commit -m "revert a modified file from pull request" | |
git push origin pull-request-branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment