You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like using git describe --tags as an easy way to generate a version string. It has the following advantages:
Extremely simple
Always uniquely identifies the state of the code (as long as versions are not reassigned)
If the current HEAD is on a commit corresponding to a release tag, you get that release version
The commit-info is formatted as a valid semver prerelease tag; thus, if the version tags used are semver-compatible, the generated string is always semver-compatible
Is there anything like this in jj? For collocated repos git describe --tags works, but I think it would be good to have a native command that behaves similarly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I really like using
git describe --tags
as an easy way to generate a version string. It has the following advantages:HEAD
is on a commit corresponding to a release tag, you get that release versionIs there anything like this in
jj
? For collocated reposgit describe --tags
works, but I think it would be good to have a native command that behaves similarly.Beta Was this translation helpful? Give feedback.
All reactions