threads / discuss / 30292

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

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

## tl;dr

2 messages between Apr 20, 2012 and Apr 20, 2012.

replies: 1people: 2as markdown or json

Carlos Martín Nieto· Apr 20, 2012, 13:10 UTC · re: hen vertis · lore

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

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

← back to recent threads