Is this a valid visualization of the “git stash” operation?
问题 I can not find a good visualization of the git stash operation. So I created my own based on some rare comments on the internet. This this visualization correct? Edit note: I need to change the color of stash@{0} because it's no branch. Where are stashes stored in my .git directory? I think it's a reference and stored in refs , right? Legend: C1, C2 - commits Idx - Index WD - working directory dashed line and dashed borders => free for garbage collection Reworked Image 回答1: The "before git