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.

Ryan
link
fedilink
English
61Y

[YOINK!]

Definitely adding to my own cheatsheet that I manually created with info from the various git tutorials I’ve read/watched. Very nice to have a visual representation.

Thank you!

o_o
creator
link
fedilink
English
41Y

You’re welcome! Hope it’s useful :)

@Dieterlan@lemmy.world
link
fedilink
English
171Y

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 👍

BoofStroke
link
fedilink
English
51Y

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

o_o
creator
link
fedilink
English
61Y

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

@theolodger@feddit.uk
link
fedilink
English
21Y

The file has a transparent background, making some lines invisible

@TopRamenBinLaden@lemmy.world
link
fedilink
English
4
edit-2
1Y

Very helpful graphic for newcomers to git and github. It took me a year of seriously using them to have a mental model of how they work. I wish I had this when I started using them.

jadero
link
fedilink
English
11Y

Thanks! You know you’re looking at a great instructive diagram when you never again need to refer to it!

I’ve been having a tough time getting past the first chapter, so to speak, and I think this solves it for me.

Also, the dark mode fix seems to work.

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog