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

tags and patches

From
Geoff Russell <geoffrey.russell@gmail.com>
Date
Jun 13, 2007, 10:52 UTC
Message-ID
<93c3eada0706130352h3ad6857eie01e1171fdda3991@mail.gmail.com>
Dear gits,
(I'm on 1.5.0.5)
The last tag made seems to be missing from a patch ... eg.
        cd ~ ; mkdir myrepo ; cd myrepo
        git init-db ; echo STUFF > xxx ; git add xxx
        # work, work, work on xxx
        git commit -a
        git tag v1.0
        # work work work on xxx
        # then I clone this repository
        cd /tmp ; git clone ~/myrepo newmyrepo
        # go back and work some more
        cd ~/myrepo
        echo YYY >>xxx
        git commit -a
        git tag v1.1
        # is git commit -a required to commit the tag???
        git format-patch v1.0
        cd /tmp/newmyrepo
        git am ~/myrepo/THEPATCHNAME
        git tag ls
Where is tag v1.1 ?

Cheers, Geoff Russell

Next: Pierre Habouzit
Message 1 of 10 in “tags and patches”
  1. Geoff RussellJun 13, 2007
  2. Pierre HabouzitJun 13, 2007
  3. Geoff RussellJun 13, 2007
  4. Johannes SchindelinJun 13, 2007
  5. Geoff RussellJun 14, 2007
  6. Johannes SchindelinJun 14, 2007
  7. Geoff RussellJun 14, 2007
  8. Jeff KingJun 14, 2007
  9. Geoff RussellJun 14, 2007
  10. Johannes SchindelinJun 14, 2007

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.