Skip to content

Instantly share code, notes, and snippets.

@arnavs
Last active November 22, 2019 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arnavs/4bb9173d219fc5660cab9b1b052fc0e7 to your computer and use it in GitHub Desktop.
Save arnavs/4bb9173d219fc5660cab9b1b052fc0e7 to your computer and use it in GitHub Desktop.
Orphan Branch
git checkout --orphan docs
git rm -rf .
git commit --allow-empty -a -m "Initial Commit"
git push origin docs
@arnavs
Copy link
Author

arnavs commented Nov 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment