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

Re: Is there a way to mark a branch as published?

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
Aug 1, 2014, 18:58 UTC
Message-ID
<1406919490.3253.3.camel@spirit>
In-Reply-To
<CAK3OfOjPQ1fcoA7O6EDcQ3iW_AdsjitK4WKSdLwpRRXm8xfrVA@mail.gmail.com>
On di, 2014-07-29 at 17:40 -0500, Nico Williams wrote:
> (or all of a repo's branches)
> 
> Teamware recorded whether it had any "children" and warned about
> rebasing published contents.  Perhaps git could do the same.

Git doesn't record this directly, but you can see which known remote branches contain the tip of a branch:

git branch -a --contains yourbranchnamehere | grep remotes/
That doesn't say anything about remotes you don't know about of course.
-- 
Dennis Kaarsemaker
www.kaarsemaker.net
Previous: Nico WilliamsNext: Nico Williams
Message 2 of 3 in “Is there a way to mark a branch as published?”
  1. Nico WilliamsJul 29, 2014
  2. Dennis KaarsemakerAug 1, 2014
  3. Nico WilliamsAug 1, 2014

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.