Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working tree viz #122

Open
wants to merge 25 commits into
base: gh-pages
Choose a base branch
from
Open

Conversation

dpatel19
Copy link

This PR includes a new "Working Tree" visualization. The stash, working tree, and index are displayed on the lower half of the screen to visualize how commands like 'git stash', 'git add', and editing files affect the different trees of git. My hope is that viewers will be understand how git transitions changes between these 3 trees and which commands will serve their needs.

@jmegner
Copy link

jmegner commented Jul 31, 2022

Very cool stuff!

One bug report: if my window is very wide, then the {Stash, Workspace, Index} rectangles look okay, but as I reduce the window width, the gap between them gets bigger and very quickly I get to only seeing {Stash, Workspace}. If I keep reducing the window width, the bottom will be 25% Stash and 75% empty space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants