Is it possible to get the description only via jj show
#2225
-
Hi Is it possible get the description (i.e., the commit message) only, without other metadata and/or diffs when using The reason is I'm trying to create some bash script for me to automate the GitHub branch push & PR creation for the stacked PRs, similar to what Sapling does. And one step requires me to update the PR description with the commit message. So I wonder if there is some easy way to do this programatically. Right now I'm able to get it by this
But it seems it's a bit hacky and not sure if it's reliable enough. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
jj log --no-graph -T description
should do it.