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

Support of NETRC environment variable

From
RDRémi Debette <r.debette@instadeep.com>
Date
Dec 2, 2024, 17:36 UTC
Message-ID
<CAGinwDzTDexiXpwR0BGTTgX_9BcQ9N2RSea2UBTnyurCM0QRfg@mail.gmail.com>
Hi,

This email follows discussions on this issue in the uv project: https://github.com/astral-sh/uv/issues/9576

The uv project supports setting an environment variable called NETRC that allows setting a path to a .netrc file if this one is not in the expected home path ~/.netrc Their documentation describes it here: https://docs.astral.sh/uv/configuration/environment/#netrc

git supports authenticating through the .netrc home file, but it seems it does not recognize this NETRC environment variable. Would there be an alternative way to set an alternate path?

Thank you Rémi DEBETTE

Next: Jeff King
Message 1 of 2 in “Support of NETRC environment variable”
  1. Rémi DebetteDec 2, 2024
  2. Jeff KingDec 2, 2024

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.