Hi,
I wish to be able to retrieve from slack the "number of commits performed in specific Sprint". For that I need to be able to retrieve number of commits between dates (start, end).
Is there any way / command for it?
Thanks,
Jacob.
Hi @[deleted]
I don't think there's a feature on slack can help achieve it, but you can try using `git log` command with the following options which list all the commits within the period:
--after="2020-04-18"
--until="2020-04-21"
https://git-scm.com/docs/git-log#Documentation/git-log.txt---afterltdategt
Then add `wc -l` command which will get the number of commits made during the period. For example:
git log --all --after="2020-04-18" --until="2020-04-21" | wc -l
Another thing that you can try is by using 3rd party add-on - Awesome Graphs for Bitbucket Cloud.
Cheers,
Ronald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.