Created
August 16, 2012 12:21
Revisions
-
ebouchut created this gist
Aug 16, 2012 .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,5 @@ Cherry pick the commits from a through z (assuming SHA1 a is older than z) git rev-list --reverse --topo-order a^..z | xargs -n 1 git cherry-pick The below code does not work as it will squash all the commits (a..z) in a single one. git cherry-pick a..z