Is it possible to add the git branch to the report?
ianozsvald opened this issue · 3 comments
ianozsvald commented
Currently we can add the git hash, is it possible to show the git branch as well? This is more interpretable than the hash.
git rev-parse --abbrev-ref HEAD
seems to do it at the command line as noted (with other options) here: https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git
Sidenote - I've introduced watermark
to many colleagues, I tend to make sure it is adopted by projects in each organisation I work with, many thanks for supporting it!
rasbt commented
Thanks for the comment, and I am happy to hear that you find the watermark extension useful :). I think adding an option for the git branch sounds like a good idea, I can certainly add sth like that (i.e., a --gitbranch
flag).