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

Re: error: could not lock config file %C:\Users\Hen%/.gitconfig: Invalid argument

From
Carlos Martín Nieto <cmn@elego.de>
Date
Apr 20, 2012, 13:10 UTC
Message-ID
<1334927426.20138.8.camel@centaur.lab.cmartin.tk>
In-Reply-To
<4F915C26.5010403@gmail.com>
On Fri, 2012-04-20 at 15:52 +0300, hen vertis wrote:
> hi
> i run as administrator git-gui and i get for every action that i make 
> this error please help me

It looks like Windows parameter expansion gone awry. Your HOME setting seems get set to %%HOMEPATH%% instead of %HOMEPATH% or similar.

   cmn
Previous: hen vertis
Message 2 of 2 in “error: could not lock config file %C:\Users\Hen%/.gitconfig: Invalid argument”
  1. hen vertisApr 20, 2012
  2. Carlos Martín NietoApr 20, 2012

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.