On Wed, 20 May 2015 09:25:37 +0200
Magnus Therning <mag...@therning.org> wrote:
> >>> I edit for pick 3 suchandsuch, pick 1 suchandsuch, pick 2
> >>> suchandsuch, for starters (in reverse order), save and exit.
> >>> However, when I verify the log, nothing seems to have happened.
> >> This sounds strange to me. What do you mean by "verify the log"?
> > Using TortoiseGit, I "Show Log", and review, yet the same revisions
> > are in the same order, which leads me to believe that nothing
> > actually happened.
> >> After saving the rebase script and closing the editor, you should
> >> see Git actually working in your console as the `git rebase`
> >> command is rather chatty (by default). Something like "First,
> >> rewinding your HEAD to ..." then "Applying patch (N/M)" etc. Do
> >> you see this? Anything other there?
> > Actually, no. I did not see anything like applying patches, etc.
> > There was a very succinct, one line response. Probably indicating
> > that nothing actually happened.
> How are you initiating the rebase, via command line or TortoiseGit?
> If you are using the command line I'd start with removing `notepad++`
> from the equation and go with the default (most probably that's `vi`).
I seconds this.
I checked if Windows 7 still includes the venerable edit.exe from the
MS-DOS time (Windows XP did have it) but it seems it doesn't anymore,
and Git for Windows ships with Vim which is a console editor and hence
it should reliably work for that edit -> close -> continue cycle.
Sure, for a Windows user Git is quite atypical, but one just have
to learn to hit <Ins> to go to insert mode -- familiar for most Windows
users -- fool around using cursor keys, <Delete>, <Backspace> etc
and then hit <Esc> to return to normal more, where the ZZ command
should save and quit.
So I'd change the editor temporarily by
git config --local --add core.editor vi
and retry the rebase changing the first "pick" to "edit" and see what
happens: if the rebase will continue and stop at that edit, the OP
will be able to just run
git rebase --abort
to, well, abort the rebase.
Hence, if that works, we'll be able to work on how to properly hook
Notepad++ there. Otherwise the problem is elsewhere and probably
the way to go would be running `git rebase` in trace mode.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.