Created
December 27, 2017 03:27
-
-
Save tun/d6a7b0630bc1a262313251c20345529d to your computer and use it in GitHub Desktop.
gh-pages git worktree
This file contains 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 checkout --orphan gh-pages | |
git commit --allow-empty -m "gh-pages branch worktree" | |
git checkout master | |
mkdir -p public/ | |
git worktree add public/ gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment