Created
November 10, 2023 19:35
-
-
Save mitchallen/3f20336cc996a67ba352b7634a2a864e to your computer and use it in GitHub Desktop.
How to clean a repo
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 fetch origin | |
git reset --hard origin/main | |
git clean -fxd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment