[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git not fetching from origin...
From: |
Johannes Schindelin |
Subject: |
Re: git not fetching from origin... |
Date: |
Mon, 25 May 2009 09:56:22 +0200 (CEST) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
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
- Re: git on Windows (was: Re: git not fetching from origin...), (continued)
- Re: git on Windows (was: Re: git not fetching from origin...), Johannes Schindelin, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Trevor Daniels, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Mark Polesky, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Johannes Schindelin, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Mark Polesky, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Johannes Schindelin, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Carl D. Sorensen, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Johannes Schindelin, 2009/05/26
- Re: git on Windows (was: Re: git not fetching from origin...), Carl D. Sorensen, 2009/05/26
- Re: Mac OS Line endings (was Re: git on Windows (was: Re: git not fetching from origin...)), Carl D. Sorensen, 2009/05/26
- Re: git not fetching from origin...,
Johannes Schindelin <=
- Re: git not fetching from origin..., Patrick McCarty, 2009/05/25
- Re: git not fetching from origin..., Carl D. Sorensen, 2009/05/25
- Re: git not fetching from origin..., Patrick McCarty, 2009/05/25
Re: git not fetching from origin..., Mark Polesky, 2009/05/24