Hi Mani, > Amit, you can use something like this > > git log -1 --abbrev-commit --pretty=format:"Fixes: %h (\"%s\")%n" <commit-hash> Yeah, I already had this enabled in my git config: [pretty] fixes = Fixes: %h (\"%s\") picked = Cherry-Picked: %h (\"%s\") and then I generated it using: git log --pretty=fixes -1 6f87359e8bcaf88381b9c9c038929e0e6872d308 Fixes: 6f87359 ("pinctrl: actions: Fix functions groups names for S700 SoC") But seems to only generates 7 chars for commit hash Thanks Amit _______________________________________________ linux-actions mailing list linux-actions@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-actions