cross-posted from: https://programming.dev/post/223663

Hey folks!

I’ve noticed that it’s often difficult for newcomers to git to understand what the heck is happening and how the commands work.

Here’s a flowchart that has helped me explain things in the past, and (more than once) folks have asked me for a copy of it to use as a cheat sheet. Hope it’s helpful!

I’ve crossposted this in multiple places where I think it’s relevant. Hope y’all get some use out of it too! (Mods, please let me know if I should take it down)

EDIT: added non-transparent image, hopefully more visible for dark mode users.

  • Dieterlan@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 year ago

    Don’t know if this is just something that I’m seeing on my side, or maybe you did it intentionally, but most of the top portion is transparent, which makes it hard to parse when viewing in dark mode. Otherwise, pretty solid graphic 👍

    • o_oOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Thanks for calling this out! Fixed, I hope. Wasn’t intentional.

    • BoofStroke@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Came here to say this. Never assume everyone uses your same configurations when sharing a document.