Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Can't reorder commits with E (interactive rebase) #503

Closed
catphive opened this Issue Nov 8, 2012 · 8 comments

Comments

Projects
None yet
7 participants

catphive commented Nov 8, 2012

rebase-mode.el seems to prevent me from reordering commits during an interactive rebase. It doesn't let me kill and yank lines of text, so I don't see any way to change the order of commits.

qdot commented Nov 8, 2012

Check the keymap. M-n/M-p move commits, k kills them.

catphive commented Nov 9, 2012

Thanks. Missed that somehow.

Contributor

phil-s commented Nov 22, 2012

You can also simply make the buffer writeable (with toggle-read-only: C-x C-q) and then kill/yank the lines as normal. The built-in bindings are probably preferable, but I hadn't even noticed that they existed :)

@tarsius tarsius closed this Apr 20, 2013

I couldn't figure this out by myself. It would be nice if the documentation mentioned M-n M-p for re-ordering.

Cheers

Owner

tarsius commented Jan 31, 2014

Yes.

Mentioning #1096 so I don't forget.

Thanks!

waffletower commented Apr 18, 2016 edited

Yikes, annoying when someone adds a mode you don't yet know to Emacs... rebase-mode.el is probably the greatest example of default package hubris I have ever seen in Emacs.

Contributor

johnmastro commented Apr 18, 2016

Default package hubris? I don't understand. git-rebase.el is part of Magit, not Emacs.

(I'm not a Magit developer, just a confused reader)

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