[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editors invoked by git rebase -i
From: |
David Kastrup |
Subject: |
Re: Editors invoked by git rebase -i |
Date: |
Wed, 02 Dec 2009 18:02:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
"Trevor Daniels" <address@hidden> writes:
> I used "git rebase -i" to combine several commits into
> one for the first time recently. This was in ubuntu.
> It threw me for a while because the first editor it
> brought up was nano (to edit the list of commits) and
> then vi (to edit the commit messages). Not being
> familiar with either, the way to save and exit took me
> quite a few minutes to work out.
>
> It it possible to configure git to use another editor,
> like the ubuntu default, gedit, for these?
I think that you just need to configure your EDITOR environment variable
properly. I don't remember offhand whether VISUAL or EDITOR is used
preferentially.
--
David Kastrup
- Editors invoked by git rebase -i, Trevor Daniels, 2009/12/02
- Re: Editors invoked by git rebase -i, Graham Percival, 2009/12/02
- Re: Editors invoked by git rebase -i, Reinhold Kainhofer, 2009/12/02
- Re: Editors invoked by git rebase -i, Ralf Mattes, 2009/12/02
- Re: Editors invoked by git rebase -i, Jonathan Kulp, 2009/12/02
- Re: Editors invoked by git rebase -i, Johannes Schindelin, 2009/12/02
- Re: Editors invoked by git rebase -i, Mark Knoop, 2009/12/02
- Re: Editors invoked by git rebase -i,
David Kastrup <=
- Re: Editors invoked by git rebase -i, Jean-Charles Malahieude, 2009/12/02