Created
April 3, 2012 02:34
-
-
Save Svel/2288892 to your computer and use it in GitHub Desktop.
git workflow production commit
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
# Inspired from https://www.braintreepayments.com/braintrust/our-git-workflow | |
# and some https://www.google.com/search?q=git%20workflow&hl=en searching | |
# | |
git checkout master | |
git merge --squash dev | |
msg="Version XXX";log=$(git log --format=" * %s" dev ^$(git log --merges -n 1 dev --format="%H")); echo -e "$msg\n\n$log" | git commit -F- | |
git checkout dev && git merge master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment