I am trying to do a git pull --rebase
from magit
following these steps:
C-x g (bound to
magit-status
)F (opens the submenu for pulling)
The menu tells me that I can use the
-r
switch to do a rebase, so I do:C-u -r
But the above doesn't seem to work. Any ideas how I can provide the --rebase
flag ?
Thanks, Murtaza
As @abo-abo's comment suggests, you do not need to press C-u to activate the
-r
switch (or any other switch in any submenu, for that matter). The correct sequence of steps is:C-x g F -r F
I think what might have tripped you up is the fact that
magit
calls switches (such as-r
) "prefixes" in the message that appears in the echo area when bringing up a submenu: