Skip to content

Instantly share code, notes, and snippets.

@norv
Created May 12, 2013 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save norv/5564337 to your computer and use it in GitHub Desktop.
Save norv/5564337 to your computer and use it in GitHub Desktop.
// update master
git checkout master
git pull elk master
// add a new branch from caching
git checkout Caching
git checkout -b refactorings
git rebase -i 807738bc8dd6de98d04dc5ad02a897067edd90b8
// you should have a window allowing you to pick only some commits and comment out others
---------
// Alternative
// add a new branch from master
git checkout master
git checkout -b refactorings
git cherry-pick Cleanup~2 Cleanup~1 Cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment