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

Re: git config credential.helper with absolute path on windows not working properly

From
Bbcampolo <bcampolo@mmm.com>
Date
Sep 26, 2017, 14:51 UTC
Message-ID
<1506437512234-0.post@n2.nabble.com>
In-Reply-To
<CADmzSDHbH-=bX=PFqvoe23iQPF7Mq6ogV7D9c0XjdXUsORgmBQ@mail.gmail.com>

My situation was a little different, but I was able to get this to work with some interesting escaping.

helper = !"\"C:\\Path with spaces\\executable\"" --option1 value1 credential-helper $@

Notice the exclamation, quoted path of executable and extra escaped quotes inside of that, plus escaped backslashes.

-- Sent from: http://git.661346.n2.nabble.com/

Previous: Valentin Stanciu
Message 2 of 2 in “git config credential.helper with absolute path on windows not working properly”
  1. Valentin StanciuOct 5, 2015
  2. bcampoloSep 26, 2017

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.