Created
April 26, 2020 07:22
-
-
Save doozie-akshay/043aefb57683ce4b3a81136fa29d3c9d 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
-- Remove the git folder | |
rm -rf .git | |
-- init the repos from the current content only | |
git init | |
git add . | |
git commit -m "First commit" | |
-- push to the github remote repos with --force to overwrite history | |
git remote add origin git@github.com:<ACCOUNT>/<REPOS>.git | |
git push -u --force origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment