Last active
August 29, 2015 14:07
-
-
Save ramielrowe/68ed3878fffba5815e61 to your computer and use it in GitHub Desktop.
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 characters
1) checkout the top most commit of patch set (i.e. isn't needed for any other patches) | |
(git fetch https://review.openstack.org/openstack/nova refs/changes/53/123553/3 && git checkout FETCH_HEAD) | |
2) checkout a new branch | |
(git checkout -b "blah") | |
3) do an interactive rebase down to the commit before our changes. (you can do a 'git log' to find this) | |
(git rebase -i fe2d5d2730b1ec798e3d41023eaa1599c9937f58) | |
4) change 'pick' to 'edit' for commits you want to edit | |
5) make needed changes to patch, add them (git add), then commit them (git commit --amend) | |
6) git rebase --continue and repeat 5 until you're done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment