Skip to content

Instantly share code, notes, and snippets.

@up209d
Last active June 1, 2018 09:42
Show Gist options
  • Save up209d/36aed70fcbce785486e3fc373b221724 to your computer and use it in GitHub Desktop.
Save up209d/36aed70fcbce785486e3fc373b221724 to your computer and use it in GitHub Desktop.
Force to push 'dist ' folder from local branch 'origin' to remote branch 'gh-pages'
git push origin `git subtree split --prefix dist master`:gh-pages --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment