Skip to content

Instantly share code, notes, and snippets.

@ahitrin
Created March 7, 2012 09:49
Show Gist options
  • Save ahitrin/1992287 to your computer and use it in GitHub Desktop.
Save ahitrin/1992287 to your computer and use it in GitHub Desktop.
Need to automate some git magic ;)
git checkout 4470c77223d48d8145fdd1be42743d88e341479f && git format-patch HEAD^ &&
git checkout ef0924b4ae6a5d9775d478b1e98a8d26eef445bb && git format-patch HEAD^ --start-number 2 &&
git checkout a870c8f9cd2b42b433ef6294a752475e0adba122 && git format-patch HEAD^ --start-number 3 &&
git checkout 50deb9db151419882c1bdba10311024c05471875 && git format-patch HEAD^ --start-number 4 &&
git checkout 3f46f94f94ac6fc676a2491848ec21f7e762cb50 && git format-patch HEAD^ --start-number 5 &&
git checkout master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment