I'm trying to delete old github commits with the interactive rebase, but I don't know how to actually save the changes I've made and push them onto my repository. I haven't found anywhere that actually explains how to exit the interactive rebase, and keep your changes. Help?
Asked
Active
Viewed 369 times
1 Answers
0
You just need to finish the rebase instructions in your editor.
Exit your editor, and it should apply your changes.
If there are any conflicts while rebasing, you'll have to fix them, stage your changes and use git rebase --continue
.
That's it. The rebase will finish itself.
Once you're done, you'll have to force push to overwrite the remote state of your branch.

Community
- 1
- 1

user229044
- 232,980
- 40
- 330
- 338