this post was submitted on 09 Aug 2023
5 points (100.0% liked)

xkcd

8766 readers
54 users here now

A community for a webcomic of romance, sarcasm, math, and language.

founded 1 year ago
MODERATORS
5
xkcd #1597: Git (imgs.xkcd.com)
submitted 1 year ago* (last edited 1 month ago) by Jakylla@sh.itjust.works to c/xkcd@lemmy.world
 

Title text: If that doesn't fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.


Transcript[Cueball points to a computer on a desk while Ponytail and Hairy are standing further away behind an office chair.]

Cueball: This is git. It tracks collaborative work on projects through a beautiful distributed graph theory tree model.
Ponytail: Cool. How do we use it?
Cueball: No idea. Just memorize these shell commands and type them to sync up. If you get errors, save your work elsewhere, delete the project, and download a fresh copy.


top 5 comments
sorted by: hot top controversial new old
[–] IndefiniteBen@feddit.nl 1 points 1 year ago

This is helpful when you get errors: https://ohshitgit.com/

[–] luckybipedal@lemmy.world 0 points 1 year ago

IME, to use git effectively, and make sense of the man-pages, you have to know a lot of the internals of how git works. I found it helpful to read "Git from the bottom up" when I had to start using it professionally: https://jwiegley.github.io/git-from-the-bottom-up/

[–] koorool@feddit.de 0 points 1 year ago

I'm using Mercurial for the last 2 years at current company, before that it was 5-7 years of Git on various jobs. It's so much better if you use it correctly (no long-living or big branches). I forgot what hell Git was sometimes.

[–] Gxost@lemmy.world 0 points 1 year ago (1 children)

A good GUI can solve most problems.

[–] Magnetar@feddit.de 0 points 1 year ago

If my colleagues mess something up in their fancy GUIs, they come to me to fix it in the terminal.