Created
June 12, 2009 17:41
Revisions
-
grockit revised this gist
Jun 30, 2009 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,5 +17,8 @@ git cherry-pick 2ca4ba06e4494c548ccc8d9acd964d3f10da4e4d # Push your local branch to the origin (creates a remote ref) git push origin production_bugfix # Deploy it cap production deploy TAG=#{commit_id} # Enjoy reward http://www.youtube.com/watch?v=2x2W12A8Qow -
grockit revised this gist
Jun 12, 2009 . 1 changed file with 17 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,21 @@ # Get the latest production tag git tag -l 'production/*' | tail -1 > production/20090610235902 # Create a local production_bugfix branch git branch production_bugfix production/20090610235902 # Checkout or "switch" to the production_bugfix branch git co production_bugfix # Find the commits that you would like to cherry pick git log master # Do the cherry pick git cherry-pick 2ca4ba06e4494c548ccc8d9acd964d3f10da4e4d # Push your local branch to the origin (creates a remote ref) git push origin production_bugfix # Enjoy reward http://www.youtube.com/watch?v=2x2W12A8Qow -
grockit created this gist
Jun 12, 2009 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ git tag -l 'production/*' | tail -1 git branch production_bugfix `git tag -l 'production/*' | tail -1` git co production_bugfix git log master git cherry-pick 2ca4ba06e4494c548ccc8d9acd964d3f10da4e4d git push origin production_bugfix