4 ms·
> Umm, you can do this, but in general you should never rename tags. Occasionally a developer will tell me the tag they pushed is incorrect and I'll agree to re
by Fede_V 12y ago
> Umm, you can do this, but in general you should never rename tags. Occasionally a developer will tell me the tag they pushed is incorrect and I'll agree to remove it only if they promise not to re-create it. If you read the man page on git-tag it's clear why you should avoid doing this.
I'll take your word for it, but the git man pages are notoriously unreadable. They might be useful for a git guru, but for someone that is learning the commands they are downright harmful.
- qznc 12y agoOn the git-tag help page, there is a section "On Re-tagging" [0]. It looks quite readable to me. [0] https://www.kernel.org/pub/software/scm/git/docs/git-tag.html#_on_re_tagging https://www.kernel.org/pub/software/scm/git/docs/git-tag.htm...
- eyko 12y ago> I'll take your word for it, but the git man pages are notoriously unreadable. They might be useful for a git guru, but for someone that is learning the commands they are downright harmful. Can you elaborate? I'm definitely not a git guru and I always read the man pages, and I find them quite readable. It's also the first place I learn best practices from.
- Fede_V 12y agoSure. I think this is largely a matter of preferences in pedagogy, but when I'm looking to learn something, I like to have heavily annotated examples that get progressively more complex. Listing every option with a description, to me, is not as useful as seeing it in practice.