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

Where does the variable GIT_HOSTING comes?

From
HZHongyi Zhao <hongyi.zhao@gmail.com>
Date
Jun 23, 2021, 23:30 UTC
Message-ID
<CAGP6PO+hnvAdYuMKQG15-fhRVdDBCCn2xfnLP5=exPcs4GHJVQ@mail.gmail.com>
Hi all,
On Ubuntu 20.04, see my following relevant git variables settings:

$ env |grep GIT GIT_SSL_NO_VERIFY=1 GIT_HOSTING=git@git.domain.com GIT_DISCOVERY_ACROSS_FILESYSTEM=true

I don't set the `GIT_HOSTING' variable at all. Then where does it come from and what's the function of it?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China
Next: Jeff King
Message 1 of 4 in “Where does the variable GIT_HOSTING comes?”
  1. Hongyi ZhaoJun 23, 2021
  2. Jeff KingJun 24, 2021
  3. Jeff KingJun 24, 2021
  4. Hongyi ZhaoJun 24, 2021

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.