3 ms·
I'm not criticizing the cheatsheet and can see how it can help but if I may point out 2 possible points of confusion for Git novices: If the conceptual boxes o
by jasode 8y ago
I'm not criticizing the cheatsheet and can see how it can help but if I may point out 2 possible points of confusion for Git novices:
If the conceptual boxes of "stash", "workspace",...,"upstream repo" represent a left-to-right timeline of workflow, having "stash" being on the left of "workspace" is somewhat misleading. A stash point-in-time usage can be thought of in the same vertical time-alignment as "index" or "local repository".
If the conceptual boxes represent a storage model, then stash being a separate isolated box is somewhat misleading. The stashes are actually stored in the "local repository". (E.g. an alternative diagram would show "index" and "stash" as nested boxes inside of "local repository".)
I readily admit that spatially rearranging how "stash" is diagrammed complicates the arrows illustrating the git commands. Therefore, maybe the way the cheatsheet did it is the best compromise.