this post was submitted on 05 Jul 2023
198 points (95.8% liked)

Programming

17026 readers
131 users here now

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 [email protected]



founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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.