Fork Of

gist: 49748 by ambethia Removing the history from a...

Revisions

gist: 180407 Download_button fork
public
Public Clone URL: git://gist.github.com/180407.git
Embed All Files: show embed
Clean Branch #
1
2
3
4
5
6
git symbolic-ref HEAD refs/heads/newbranch
rm .git/index
git clean -fdx
<do work>
git add your files
git commit -m 'Initial commit'