Skip to content

Instantly share code, notes, and snippets.

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 ShyamsundarR/e11c305d261d36aa0648ad0a35dc72c6 to your computer and use it in GitHub Desktop.
Save ShyamsundarR/e11c305d261d36aa0648ad0a35dc72c6 to your computer and use it in GitHub Desktop.
Lets Say D,C,B,A are the patches, and to edit C:
# git rebase -i D
<In the file that pops change "pick C" to "edit C">
After the changes are done,
# git commit -s -a --amend
# git continue --rebase
Now you should have the patches D, C', B, A.
# rfc.sh
on this pushes all the 4 patches
@ShyamsundarR
Copy link
Author

@poornimag thanks for the steps, can you check if these are reflected right above, and hope you have not found a better one in the interim... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment