Last active
August 29, 2015 14:04
-
-
Save mdkrog/6d30f9a87712c0fc4ec5 to your computer and use it in GitHub Desktop.
Squarespace Environments
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
# make sure we're on master | |
$ git checkout master | |
# add a remote ref for the development site | |
$ git remote add dev-site https://sitename-dev.dev.squarespace.com/template.git | |
# force push our live site to the dev site | |
$ git push -f dev-site master | |
# add a dev tracking branch from the dev site | |
$ git checkout -b dev-branch dev-site/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment