This is cool!<p>For anyone wishing to learn why git is the way it is, I always recommend reading Git From the Bottom Up [0]. I don't consider myself a git guru, but I found this to be a really great read to understand the underlying concepts.<p>0: <a href="https://jwiegley.github.io/git-from-the-bottom-up/" rel="nofollow">https://jwiegley.github.io/git-from-the-bottom-up/</a>
This is nice. I wish it existed years ago.<p>Since the git commandline isn't ever going to be anything but insane and confusing, it really helps to be able to visualize what's going on. I think a sizeable portion of developers reason about their work graphically, even though their work appears textual. Being able to do this successfully demands an iron-clad understanding the tools, and/or tools which map neatly and consistently to concepts.<p>The concepts behind git operations aren't hard. It's the incoherent commands that make people miserable, confused and mistake-prone. Git operations become crystal clear when represented graphically.
Don’t miss the awesome “zen mode”.<p><a href="https://onlywei.github.io/explain-git-with-d3/#zen" rel="nofollow">https://onlywei.github.io/explain-git-with-d3/#zen</a><p>This the the best tool I’ve found to demonstrate to people, how commits that no longer appear in your history due to rebase or amend etc, are still there in your repository.
Sounds vaguely familiar, and indeed I had bokmarked a site which did this exactly (just more elaborate, IIRC was built as a complete tutorial). Site (<a href="https://news.ycombinator.com/item?id=7450528" rel="nofollow">https://news.ycombinator.com/item?id=7450528</a>) is dead now unfortunately, would have been good to get inspiration from. <a href="https://learngitbranching.js.org" rel="nofollow">https://learngitbranching.js.org</a> is still alive though.
I like it!<p>For those interested, I'm working on a D3 book on how to create unique visualisations with D3 <a href="https://datacrayon.com/shop/product/visualisation-with-d3/" rel="nofollow">https://datacrayon.com/shop/product/visualisation-with-d3/</a>
Somewhat of an aside, has anyone seen a way to visualize this type of graph without javascript? I'm looking to visualize hundreds of graph relationships and am hoping to not use JS. Admittedly though this example looks fairly performant, all the other ones i've seen are super laggy.<p>Ultimately i think i just want to find a decent way to use CSS to replicate this style - but i've not seen any CSS gurus manage to produce that.<p>Though, WebGL might be the best way regardless.
This is why I refuse to use Git from the command line -- it all makes perfect sense visually. Why mess around with hashes when you could just be clicking on the commit you want in a GUI and telling it to move?
this is amazing, i learned a lot about git from a similar, non-interactive talk,. this is much better<p>one suggestion, let user hit up arrow to auto-type suggested command