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!

  • JackbyDev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Also, teaching people that the staged files are like a commit in progress helps folks.