Skip to content

Instantly share code, notes, and snippets.

@nicinabox
Created Jul 8, 2011
Embed
What would you like to do?
# $ deploy dev // Deploys to staging
# $ deploy // Deploys to production
function deploy() {
if [[ $@ != "" ]]; then
git push staging $@:master
else
git push production
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment