Skip to content

Instantly share code, notes, and snippets.

@leduchung
Created May 27, 2016 04:52
Show Gist options
  • Save leduchung/97305a70f2f2c1027a1fc791917cca78 to your computer and use it in GitHub Desktop.
Save leduchung/97305a70f2f2c1027a1fc791917cca78 to your computer and use it in GitHub Desktop.
git checkout --orphan NEWBRANCH
git rm --cached -r .
rm -rf *
touch README
git commit -m "initial"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment