Remove local remote
git remote remove origin
Squash all git history into one commit
git checkout --orphan some-branch
git commit -m "First commit"
git branch -f master
git checkout master
git branch -d some-branch
Remove local remote
git remote remove origin
Squash all git history into one commit
git checkout --orphan some-branch
git commit -m "First commit"
git branch -f master
git checkout master
git branch -d some-branch