grawkit icon indicating copy to clipboard operation
grawkit copied to clipboard

Generate from `git log`

Open aarondfrancis opened this issue 6 years ago • 1 comments

These graphs are so beautiful, but I can't figure out how to generate one from the output of git log. Do you have any ideas or directions you could point me in?

Thanks!

aarondfrancis avatar Nov 14 '19 23:11 aarondfrancis

I don't believe there's a single git command that allows for, essentially, reverse-engineering the commands used for generating the graph, nor does grawkit support reading from a more machine-readable format, as it's generally intended for short demonstrations, not full visualizations of repositories.

That said, there might be some way of extracting the commands from git reflog or git ref-list and a bit of shell-fu, as all the information needed is available, it seems, just not in the right format.

deuill avatar Nov 15 '19 22:11 deuill