Last active
March 4, 2017 01:43
-
-
Save pcanterini/6481229 to your computer and use it in GitHub Desktop.
fix for octopress deploy - rake deploy is rejected
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 clone https://github.com/username/username.github.io.git | |
git checkout source | |
Then we need to setup the deploy directory. | |
mkdir _deploy | |
cd _deploy | |
git init | |
git remote add -t master -f origin https://github.com/username/username.github.io.git | |
Done! Now we can make changes in source branch and use rake gen_deploy as usual. | |
if using zsh: | |
alias rake="noglob rake" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perfect, just what I was looking for, thank you!