Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
rebase and deploy
git branch devserver-scratch devserver
git checkout devserver-scratch
git rebase development
sed -i delme "s/set :branch.*/set :branch, \'devserver-scratch\'/" config/deploy.rb
git push --force -u origin devserver-scratch
cap devserver deploy
rm config/deploy.rb
mv config/deploy.rbdelme config/deploy.rb
git checkout development
git branch -D devserver-scratch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment