pcottle / learnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
https://pcottle.github.io/learnGitBranching/
MIT License
30.48k stars 5.74k forks source link

add a link to a clean slate state #1177

Open parmentelat opened 6 days ago

parmentelat commented 6 days ago

when in sandbox mode, it's possible to do a reset; clear however when using the tool often this takes some time - to type and to execute

I would suggest to add a link from the Learn Git Branching header to go back to the main sandbox entry point and restart afresh

I actually have a possible PR to this end so if the idea feels right I can go ahead with it

pcottle commented 6 days ago

I'd be fine with a shortcut :) you could add an shortcut here that achieves that, maybe a broom or trash can or something:

Screenshot 2024-09-20 at 5 37 42 PM

https://fontawesome.com/icons/broom?f=classic&s=solid

pcottle commented 4 days ago

Speaking of which, tapping that "?" actually brings you to a screen where you can reset as well:

Screenshot 2024-09-22 at 5 44 55 PM