skip to Main Content

You sure know those nice git timeline charts, visualising a git branching strategy and workflow.

I created a git workflow based upon the specific needs of a customer. To hand over my work, I´d prefer not to scan my drawings, nor to fiddle with photoshop. Are there any free tools to create those? (i.e. sure they are – but are any of these especcially well suited for the task?) Ideally theye are web-based, or at least easy to learn for such a one-time-occasion. (No, LaTeX isn´t 🙂 )

Thanks!

4

Answers


  1. There are:

    …to name just a few. There’s a lot of GUI tools for this.

    If you’d like to write some code and generate pictures out of it, take a look at GraphViz or Ditaa.

    Login or Signup to reply.
  2. You can describe your flow using JS code. Here is GitGraph.js

    – a simple JavaScript library which is meant to help you visually presenting git branching stuff like a git workflow, a tricky git command or whatever git tree you’d have in mind.

    GitGraph.js - template "metro"

    Login or Signup to reply.
  3. I like Visualizing Git, which is open source and runs in your browser. You type in git commands, and it creates the graph.

    The below graph was generated by this sequence:

    git commit -m "second commit"
    git commit
    git commit
    git checkout HEAD^^
    git checkout -b feature
    git commit
    git commit
    git checkout master
    git merge feature
    

    graph generated by Visualizing Git

    Login or Signup to reply.
  4. Now that GitHub pages do support mermaid (Feb. 2022), you can integrate mermaid graph representing a Git workflow:

    gitGraph :                     
    options                        
    {"key": "value",               
    "nodeWidth": 150               
    }                              
    end                            
        commit                     
        branch newbranch           
        checkout newbranch         
        commit                     
        commit                     
        checkout master            
        commit                     
        commit                     
        merge newbranch 
    

    Result:

    GitGraph

    Warning: was in Beta in 2021, but now (Feb. 2022) referenced by the official documentation, still as "experimental".

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search