Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 276 Bytes

NukeGit.md

File metadata and controls

15 lines (12 loc) · 276 Bytes

Nuke GIT

Get rid of everything in history, keeping only the HEAD

git checkout --orphan nuke
git add -A
git commit -am "nuke"
git branch -D master
git branch -m master
git push -f origin master

git push origin --force --all
git push origin --force --tags