onlywei / explain-git-with-d3

Use D3 to visualize simple git branching operations.
MIT License
1.71k stars 390 forks source link

support `branch -f` #75

Open daniele-signal opened 1 month ago

daniele-signal commented 1 month ago

It's a great tool for teaching git. One crucial command that would be nice to have supported is the git branch -f existing_name , that allows to move a non-checkedout branch label to the current HEAD by forcing it , since the name already exists.

Thank you!