Skip to content

Instantly share code, notes, and snippets.

@pwenzel
Last active October 7, 2015 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwenzel/3117571 to your computer and use it in GitHub Desktop.
Save pwenzel/3117571 to your computer and use it in GitHub Desktop.
Git Deploy Alias
# Push changes from development branch into production
# Add to .git/config
[alias]
deploy = !sh -c 'git checkout master && git merge development && git checkout development && git push --all'
@pwenzel
Copy link
Author

pwenzel commented Jul 15, 2012

Accompanies automated deployment script: https://gist.github.com/2324609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment