Closed gazsp closed 5 years ago
Here's one way to get the raw data from the command line. It's a custom format.
git notes --ref gtm-data show HEAD
Awesome. Any info on the format? ;-)
Unfortunately I do not have anything written up. At times I wish I did :). The unmarshalling code may help you with that. https://github.com/git-time-metric/gtm/blob/master/note/note.go#L57
Thanks for the info!
I understand that gtm uses git notes to store the time tracking metrics, but how can I access the raw data myself, without using gtm? The use case would be taking the gtm data and feeding it into another program.
Is there some documentation on how to access the raw data and / or what the data format is?
Thanks in advance.
(P.S. I saw a comment somewhere on another issue about CSV / JSON export - that would be really useful!)