-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 2. Dezember 2009 13:38:54 schrieb Trevor Daniels:
> 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?

git-rebase uses the $EDITOR environment variable.

I suppose setting EDITOR=gedit should work... e.g. adding 
  export EDITOR=gedit 
to your .bashrc 
Alternatively you can also simply give it on the command line
  EDITOR=gedit git rebase -i

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFLFou7TqjEwhXvPN0RArcXAKCb0nSR88pxttTyhXFoNo7KA7+8ugCdE38f
jeoNdxwwxTp5+IrvJIszA94=
=9tAO
-----END PGP SIGNATURE-----


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to