| gitreset - dotfiles - These are my dotfiles. There are many like it, but these … | |
| git clone git://jay.scot/dotfiles | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| gitreset (198B) | |
| --- | |
| 1 #!/bin/sh | |
| 2 | |
| 3 git checkout --orphan temp_branch | |
| 4 git add -A | |
| 5 git commit -am "Purge git history." | |
| 6 git branch -D master | |
| 7 git branch -m master | |
| 8 git push -f origin master | |
| 9 git push --set-upstream origin master |