Created
January 13, 2022 06:43
-
-
Save paulocoutinhox/a3919ce57a9d2a73ae36ee143fa652aa to your computer and use it in GitHub Desktop.
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 --orphan newBranch | |
git add -A | |
git commit -am "clean repository" | |
git branch -D main | |
git branch -m main | |
git push -f origin main | |
git gc --aggressive --prune=all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change
main
formaster
or other name that you use.