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

Suggestions for improvement when dealing with remote branch shuffling

From
Yann Dirson <ydirson@altern.org>
Date
Feb 2, 2010, 17:11 UTC
Message-ID
<20100202171103.GK2725@nan92-1-81-57-214-146.fbx.proxad.net>
* it looks like "git remote prune" on any remote may be a good candidate to be
included in "git gc" (although probably only for the candidate refs seeing their
last reflog entry removed)
* when a remote had a "foo/bar" ref in the past, still available locally as
"remotes/origin/foo/bar" because the user did not think about running "remote
prune origin", and a new remote branch named "foo" appears, fetch refuses to
update the local "remotes/origin/foo" ref, but does not give the reason to the
user. OTOH, another user reported fetch suggesting running "remote prune origin"
- but he may have had a slightly different history of fetch runs (seen in
1.6.5.1 msys). Probably this message should also be issued in the 1st case.
Message 1 of 1 in “Suggestions for improvement when dealing with remote branch shuffling”
  1. Yann DirsonFeb 2, 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.