Created
September 7, 2020 11:54
-
-
Save christianb/8fffa6b56fcc5f2efae243d981c6a594 to your computer and use it in GitHub Desktop.
Resets a branch to its origin state
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
git fetch origin branch_name | |
git reset --hard origin/branch_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment