Created
November 28, 2019 18:45
-
-
Save bdivljak91/5da1e0c152af15352068192f0283b49c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Reset current local branch by one commit back | |
| git reset --hard HEAD~ | |
| // Push changes to remote | |
| git push origin +branch_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment