Last active
October 7, 2015 06:07
-
-
Save pwenzel/3117571 to your computer and use it in GitHub Desktop.
Git Deploy Alias
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
# 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Accompanies automated deployment script: https://gist.github.com/2324609