by taatparya on 9/14/18, 1:32 PM with 33 comments
by jasode on 9/14/18, 2:17 PM
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.
by epicide on 9/14/18, 2:42 PM
For better or for worse, git really demands that you learn the concepts and fundamentals. It has a steep learning curve, but it's one that easily pays dividends.
Do I wish it were easier to learn? Of course.
Can you substitute actually learning how git and its workflows are used with cheatsheets and quick primers? Not remotely.
That being said, I think this one is a step in the right direction by being interactive. Something like a "git simulator" could be incredibly powerful in teaching people git.
by stblack on 9/14/18, 3:01 PM
Here is its Github repo: https://github.com/ndp/git-cheatsheet
by berti on 9/14/18, 2:32 PM
wget https://ndpsoftware.com/git-cheatsheet.html#loc=workspace 0.05s user 0.01s system 0% cpu 51.874 total
by modzu on 9/14/18, 2:12 PM
by brokenwren on 9/14/18, 2:22 PM
by npalmer on 9/14/18, 2:29 PM
by esaym on 9/14/18, 4:55 PM
by modzu on 9/14/18, 3:36 PM
by sabujp on 9/14/18, 2:28 PM