Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from ItinerisLtd/Add-prepare-icons-command
Populate `resources/icons` directory
- Loading branch information
a94310c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @codepuncher! Maybe adding non-semver tags does no good.
a94310c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using branches seems to be much better:
@main
and@v02
... or@noicons
a94310c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @szepeviktor !
Why do you think this?
a94310c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For branches it is natural to change.
a94310c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to admit: sliding tags are widely used.
a94310c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I am not able to argue why deleting an existing tag and recreating it is bad.
Maybe caching issue ... I do not know.
... Google Gemini says
Deleting and recreating a tag in Git is generally considered bad practice for a few reasons:
Breaks the reference for existing users:
Tags often serve as reference points for collaborators who have already fetched the repository. Deleting the tag breaks their existing reference, as it no longer points to the same commit.
This can lead to confusion and unexpected behavior when collaborators try to access the deleted tag.
Creates ambiguity in the history:
Git tags are immutable, meaning they should point to a specific commit in the repository history and shouldn't be changed.
Deleting and recreating a tag creates a new tag with the same name but pointing to a potentially different commit. This can make the history ambiguous and harder to understand.
Doesn't provide a clear reason for change:
Deleting a tag suggests it's no longer relevant or accurate. Recreating it with the same name doesn't clarify the reason for the change. This can be misleading and make it difficult for others to understand the history of the project.
Alternatives to deleting and recreating a tag:
Overall, it's generally recommended to avoid deleting and recreating tags in Git. Instead, consider alternative approaches that maintain the integrity of the repository history and avoid confusion for collaborators.