Skip to content

Instantly share code, notes, and snippets.

@mikemichaelis
Created December 27, 2016 18:30
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/bdae9404ef5658e9f78ca919ed1bee20 to your computer and use it in GitHub Desktop.
Save mikemichaelis/bdae9404ef5658e9f78ca919ed1bee20 to your computer and use it in GitHub Desktop.
Create a publish branch with a single commit
git branch publish
git checkout publish
git log --oneline
git rebase --root -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment