git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Challenge with Git-Bash

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jul 18, 2010, 18:11 UTC
Message-ID
<AANLkTinZCKIDh8bJUVXceqNYD1qkmWZ1fO67t0XJI5Uo@mail.gmail.com>
In-Reply-To
<008a01cb26a4$4313e360$c93baa20$@gmx.net>
On Sun, Jul 18, 2010 at 18:08, Rainer Lauer <lauerr@gmx.net> wrote:
Show 12 quoted lines
> Hi Jonathan,
> thanks for this hint. Now it is working on the base of environment variables.
>
> In order of automatically setting up my projects I'd like to use the configuration file for preparing  CVS-work instead introducing environment variables.
> Unfortunately, I'm facing another problem.
> Following commands don't modify .git/config coming along with my project(s).
> git config user.name="Rainer Lauer"
> git config user.email="Rainer.Lauer@gmx.net"
> git config core.editor="c:/Program Files/SlickEditV14.0.2/win/vs.exe"
> The file seems to stay in initial revision as created with the command git init.
>
> Where is following information stored? Command:  git config --global user.name="Rainer Lauer". Did I get the documentation right that this is a definition for all projects?

If you're asking why your .git/config file isn't being carried over when you clone the repository that's because it's not supposed to, Git doesn't work like that.

Previous: Rainer LauerNext: Jonathan Nieder
Message 5 of 9 in “Challenge with Git-Bash”
  1. Rainer LauerJul 17, 2010
  2. Ævar Arnfjörð BjarmasonJul 17, 2010
  3. Jonathan NiederJul 17, 2010
  4. AW: Challenge with Git-BashRainer Lauer, Jul 18, 2010
  5. Ævar Arnfjörð BjarmasonJul 18, 2010
  6. Files used by git config (Re: Challenge with Git-Bash)Jonathan Nieder, Jul 18, 2010
  7. Eric RaibleJul 19, 2010
  8. Ævar Arnfjörð BjarmasonJul 18, 2010
  9. AW: Challenge with Git-BashRainer Lauer, Jul 18, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.