Hi,

On Sun, 24 May 2009, Mark Polesky wrote:

> > And how do I exit the EDIT_COMMITMSG window? I've included an image 
> > showing the window. If I click on the X button, the whole git bash 
> > shell closes along with it. That can't be right.

It's starting vi.

> Okay, this one I figured out. It says here 
> http://www.kernel.org/pub/software/scm/git/docs/git-commit.html#_environment_and_configuration_variables
> 
> The editor used to edit the commit log message will be chosen from the 
> GIT_EDITOR environment variable, the core.editor configuration variable, 
> the VISUAL environment variable, or the EDITOR environment variable (in 
> that order).
> 
> So I right-clicked on the Desktop "My Computer" icon -->
> Properties --> Advanced --> Environment Variables --> User
> variables --> New -->
> 
> Variable Name: GIT_EDITOR
> Variable Value: <path to my preferred editor>
> 
> So now, 
> 
> $ git commit -a
> 
> opens my preferred editor.

Maybe the easier method is to configure it using

        $ git config core.editor <path to your favorite editor>

Ciao,
Dscho



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

Reply via email to