Created
April 1, 2021 12:23
-
-
Save alesvaupotic/d87fb6381ee414327de3d55b478dfb83 to your computer and use it in GitHub Desktop.
Clear repository history - upload as fresh project
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
rm -rf .git | |
git init | |
git add . | |
git commit -m "Initial commit" | |
git branch -m main | |
git remote add origin git@github.com:USERNAME/REPO.git | |
git push -u --force origin main | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment