Thread (5 messages) flat view 5 messages, 4 authors, 2018-11-29
  • Git Tags · Stefanie Leisestreichler <hidden> · 2018-11-29
  • Re: Git Tags · Mateusz Loskot <hidden> · 2018-11-29
  • RE: Git Tags · Randall S. Becker <hidden> · 2018-11-29
  • Re: Git Tags · Mateusz Loskot <hidden> · 2018-11-29
  • Re: Git Tags · Ævar Arnfjörð Bjarmason <hidden> · 2018-11-29

Re: Git Tags

From: Mateusz Loskot <hidden>
Date: 2018-11-29 13:45:40

On Thu, 29 Nov 2018 at 14:40, Randall S. Becker [off-list ref] wrote:
On November 29, 2018 6:56, Mateusz Loskot wrote:
quoted
On Thu, 29 Nov 2018 at 12:50, Stefanie Leisestreichler [off-list ref] wrote:
quoted
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?
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help