Re: Escape character for .gitconfig
- From
- Dirk Süsserott <newsletter@dirk.my1.cc>
- Date
- Dec 19, 2011, 15:59 UTC
- Message-ID
- <4EEF5F59.8030802@dirk.my1.cc>
- In-Reply-To
- <20111218095120.GA2290@sigill.intra.peff.net>
Am 18.12.2011 10:51 schrieb Jeff King:
> On Sun, Dec 18, 2011 at 08:53:09AM +0100, Erik Blake wrote: >
[...]
>> Now, however, I have a different problem in that notepad++ is somehow >> signalling git that editing is complete before I even get a chance to >> edit the file. I am trying the command >>> git commit --amend
[...]
Show 6 quoted lines
> > I know nothing about notepad++, but a quick google turned up the > "-multiInst" option, which would avoid attaching to the existing > instance. That might work for you. > > -Peff
Jeff is right! I also use notepad++ and have set
export GIT_EDITOR='notepad++ -multiInst'
in my .bashrc (msysGit). And btw: notepad++ DOES handle cr/lf. Look at the "Format" menu.
Dirk