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

Git Fetch / updating HEAD

From
MVMahesh Vaidya <forvaidya@gmail.com>
Date
Jul 17, 2010, 15:32 UTC
Message-ID
<AANLkTinuK4gx9SG1VKo_NbkP_QWMCmtsfJgUgfoL_KGo@mail.gmail.com>
Hi,

git fetch --all --append updates FETCH_HEAD. I'd like this command to update HEAD as well; is there any flag ?

I have a reason to do it; trying to implement multisite
A (master) -> B (readonly mirror) -> C (workspace)
if sitting in B; git fetch does't update HEAD
Mahesh Vaidya
Next: Mahesh Vaidya
Message 1 of 3 in “Git Fetch / updating HEAD”
  1. Mahesh VaidyaJul 17, 2010
  2. Mahesh VaidyaJul 17, 2010
  3. Johan HerlandJul 17, 2010

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.