I am trying to print the commit date in 2021April09 format using --date=format:'%Y%b%d' but it gives me segmentation fault. Neither of below works for me even for standard formats.
git log --pretty=format:%cd --date=format:%Y%m%d -5
git log --pretty=format:%cd --date=format:'%Y-%m-%d' -5
I know I can use git log --pretty=format:%cd --date=short
to get the shorter version but I want to use strftime format to print the abbreviated month etc