GIT utility to generate graph like this? -


i working on assignment, need generate graph of git repository arrows

enter image description here

is there utility generate graph this? know gitg, gitk; need utility through can generate graph in same format 1 shown in picture?

an answer inside se here. links alias, creating dot file based on git repository

pretty add:

[alias]         graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format:  %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f" 

to .git/config. after this, can run , create diagram e.g.

git graphviz head~100..head~60 | dotty /dev/stdin 

(also token link wiki resource). if redirect output dot-file, can manually compile graph on wishes dot or maybe neato. can adjust alias little better formatting (color, shape...) of e.g. nodes.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -