I am using the below command to get the commit report for a repository in stash. I am able to get the author name,commit id, date,comments etc in the repository and export to csv files, But unable to get the branch names. I am expecting a report to get the repo name, branch name, commit for the branch, author for the commit, date etc. If possible i want the jira ids with comments also.
git log --pretty=format:'"%h","%an","%aD","%s",' --shortstat --no-merges | paste - - - > out.csv