On Mon, 18 May 2015 10:42:54 -0400 Michael Powell <mwpowell...@gmail.com> wrote:
> I have set the global editor to Notepad++ via a shell script: > > #!/bin/sh > "C:/Program Files (x86)/Notepad++/notepad++.exe" -multiInst -notabbar > -nosession -noPlugin "$(cygpath -w "$*")" Does this really work? (I mean, did you verify the second line of your script by running it in Git Bash?) I'm asking because in a Unix shell (and in cmd.exe too, FWIW) double quotes do not nest so I'm having hard time trying to understand what's this line supposed to do. I also wonder how does "cygpath" work. Git for Windows is not a Cygwin application and I doubt it ships with the program named "cygpath". > Then I proceed with the interactive rebase: > > git rebase -i HEAD~3 > > I want to reorder the second commit to the top. I also want to squash > the first and third commits to a single commit > > 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"? 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? -- 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 to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.