Skip to content

Instantly share code, notes, and snippets.

View Twintails's full-sized avatar

L Francell Twintails

View GitHub Profile
# use at your own risk, might eat hamster and nose dragons
git branch -m master master-bak
git checkout --orphan master
git reset --hard
git commit --allow-empty -m 'init'
git merge --ff --squash --allow-unrelated-histories master-bak
git commit --amend
git push --set-upstream --force origin master