Getting a short version aka git rev-parse --short HEAD
#5996
Closed
joelreymont
started this conversation in
General
Replies: 2 comments 1 reply
-
Use template: https://jj-vcs.github.io/jj/latest/templates/#commit-keywords
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there a way to get the latest tag and the short version? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used to grab the short commit hash from git, for use in the version number.
Running
git rev-parse --short HEAD
would give me something like31e7c95bd2
.How do I do the same with jj, without resorting to
awk
or similar to extract info fromjj log -n 1
, e.g.Beta Was this translation helpful? Give feedback.
All reactions