Created
August 23, 2022 08:55
-
-
Save pawelrubin/9ba9e750a88c0781a388c44759e13058 to your computer and use it in GitHub Desktop.
Reset current local branch to its remote state
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
[alias] rr = !git branch --show-current | xargs -I{} git reset --hard origin/{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment