Skip to content

Instantly share code, notes, and snippets.

@antonfisher
Created January 25, 2016 00:37
Show Gist options
  • Save antonfisher/3bb3a7fc62ffe9f9c4c6 to your computer and use it in GitHub Desktop.
Save antonfisher/3bb3a7fc62ffe9f9c4c6 to your computer and use it in GitHub Desktop.
Create orphan branch for github documentation
git checkout --orphan docs
git rm -rf .
git reset
git add ...
git push
git co master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment