Это видео недоступно.
Сожалеем об этом.

what is a git tag? (beginner - intermediate) anthony explains

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024

Комментарии • 17

  • @jessegador
    @jessegador Год назад +3

    Thanks for the video. But I think it's also useful to show how to push tags.

    • @soulstenance
      @soulstenance 5 месяцев назад +1

      Good point! When you think of tags as a sort of frozen branch, it makes sense that you would do it the same way and that is how I did it: 'git push origin example-tag'

  • @sadhlife
    @sadhlife 3 года назад +4

    make a video on GPG keys (and PGP signatures?) as well

    • @anthonywritescode
      @anthonywritescode  3 года назад +3

      I've got one planned for public/private keys -- will maybe cover GPG at the same time!

  • @coder_117
    @coder_117 3 месяца назад

    When are tags usually created? By that I mean do you create a tag & then make a commit or do you have to commit first & then go back & tag it?

  • @Syntax753
    @Syntax753 2 года назад +2

    symbolic refs? :D Great video!

  • @soulstenance
    @soulstenance 5 месяцев назад

    Thanks! I needed this!

  • @jrib
    @jrib 2 года назад +2

    So what's the issue with heavy tags? Just that they're more verbose in git show and more work to write the message?

    • @anthonywritescode
      @anthonywritescode  2 года назад +2

      I don't personally like them since they've got their own separate commit id that both is and isn't part of the history

  • @sillybuttons925
    @sillybuttons925 3 года назад +2

    If one releases frequently with multiple devs I3x per week) what would you recommend? Tags or branching?

    • @anthonywritescode
      @anthonywritescode  3 года назад +9

      independent of size: branches for development, tags for marking releases. though when you get to too many releases it can be a problem for fetch performance (~1000s of tags for instance from experience) and at that point you might want to consider limiting fetch to just your default branch and/or pruning tags

    • @sillybuttons925
      @sillybuttons925 3 года назад +1

      @@anthonywritescode Thanks man!

  • @JJ-nm8sh
    @JJ-nm8sh 2 года назад

    Well explained 👍

  • @vincentspauwen5776
    @vincentspauwen5776 2 года назад

    Thank you!

  • @adarshchacko6137
    @adarshchacko6137 9 месяцев назад

    What is the use case of pgp signature ?

    • @soulstenance
      @soulstenance 5 месяцев назад

      It adds extra peace of mind to viewers of your project, and is basically proving that YOU made that commit/tag. No one else possibly could have done it since they would need your private PGP key, which no one but you should ever have. Hope that makes sense! I've been studying how to use this tool and it's quite fascinating, though can be confusing too. 🙂🤓