Last active
November 16, 2016 01:14
-
-
Save mikemichaelis/6d20a5dc8a02223b991b0680504d4a9f to your computer and use it in GitHub Desktop.
Create a publish branch with a single commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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