Skip to content

Instantly share code, notes, and snippets.

@mikemichaelis
Last active November 16, 2016 01:14
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 mikemichaelis/6d20a5dc8a02223b991b0680504d4a9f to your computer and use it in GitHub Desktop.
Save mikemichaelis/6d20a5dc8a02223b991b0680504d4a9f to your computer and use it in GitHub Desktop.
Create a publish branch with a single commit
git pull origin master
git checkout master
git checkout --orphan publish
git commmit -a -m "Initial commit"
git push origin publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment