Git - Erase

Initialize repo:

git init

Add remote:

git remote add origin https://[email protected]/x/x.git

Add files:

git add .

Commit changes:

git commit -m "Initial commit"

Push code, force as it won’t be in sync:

git push --force -u origin master

Remove leftover branches:

git push origin :oldBranch