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

git tag --no-merged?

From
Peter Krefting <peter@softwolves.pp.se>
Date
Feb 4, 2015, 15:19 UTC
Message-ID
<alpine.DEB.2.00.1502041615110.30476@ds9.cixit.se>
Hi!

Using "git branch --no-merged" I can get a list of branches that I have that I haven't merged into my current branch. "git tag" doesn't have such an option, is there a way to achieve something similar listing tags that point to commits that aren't in my history?

Background: In my $DAYJOB we have a couple of products that are built 
from a common source tree. Each of the products have their own 
maintenance branches, and releases from these maintenance branches are 
tagged. I want to merge the changes from the maintenance branches to 
master (and possibly to other maintenance branches if there are 
changes relevant to other products), but I only want to do this for 
our tagged released.

Using "git branch --no-merged" I can see which of the maintenance branches have commits that haven't been merged yet, but I cannot tell whether any of those have been tagged.

-- 
\\// Peter - http://www.softwolves.pp.se/
Next: Junio C Hamano
Message 1 of 6 in “git tag --no-merged?”
  1. Peter KreftingFeb 4, 2015
  2. Junio C HamanoFeb 4, 2015
  3. Johannes SixtFeb 4, 2015
  4. Junio C HamanoFeb 4, 2015
  5. Kyle J. McKayFeb 5, 2015
  6. Peter KreftingFeb 5, 2015

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.