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

Re: Git Tags

From
Mateusz Loskot <mateusz@loskot.net>
Date
Nov 29, 2018, 13:45 UTC
Message-ID
<CABUeae_jj1eqwgRNkC7R5GfLBhuKZjXYTBUJ5VgPyfLocFfJOA@mail.gmail.com>
In-Reply-To
<001901d487e9$0f9e9d90$2edbd8b0$@nexbridge.com>
On Thu, 29 Nov 2018 at 14:40, Randall S. Becker <rsbecker@nexbridge.com> wrote:
Show 22 quoted lines
> On November 29, 2018 6:56, Mateusz Loskot wrote:
> > On Thu, 29 Nov 2018 at 12:50, Stefanie Leisestreichler <stefanie.leisestreichler@peter-speer.de> wrote:
> > >
> > > git tag -a 0.9.0
> > > git push origin master
> > >
> > > In my local repository, when I run "git tag" it is showing me "0.9.0".
> > >
> > > Then I did (on box B)
> > > git clone ssh://user@host:/path/project.git cd project git tag
> > >
> > > Now git tag is showing nothing.
> > >
> > > Why is the tag only available in my local repository?
> >
> > >From https://git-scm.com/book/en/v2/Git-Basics-Tagging
> > "By default, the git push command doesn’t transfer tags to remote servers.
> > You will have to explicitly push tags to a shared server after you have created
> > them."
>
> git push --tags
>
After my yesterday experience [1], I'd be careful with git push --tags :)

[1] genuine screenshot and link to related thread at https://twitter.com/mloskot/status/1068072285846859776

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Previous: Randall S. BeckerNext: Ævar Arnfjörð Bjarmason
Message 4 of 5 in “Git Tags”
  1. Stefanie LeisestreichlerNov 29, 2018
  2. Mateusz LoskotNov 29, 2018
  3. Randall S. BeckerNov 29, 2018
  4. Mateusz LoskotNov 29, 2018
  5. Ævar Arnfjörð BjarmasonNov 29, 2018

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.