this post was submitted on 09 Aug 2023
579 points (99.0% liked)

xkcd

8901 readers
201 users here now

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

founded 1 year ago
MODERATORS
579
xkcd #1597: Git (imgs.xkcd.com)
submitted 1 year ago* (last edited 2 months ago) by [email protected] to c/xkcd
 

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.


you are viewing a single comment's thread
view the rest of the comments
[–] Gxost 23 points 1 year ago (8 children)

A good GUI can solve most problems.

[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (5 children)

Is there a really good free Git GUI for Linux? I have tried a bunch of them but all the good ones seem to be closed source and paid.

[–] aliceblossom 9 points 1 year ago (1 children)

I like SourceTree and it's free. I don't use it all the time, but if I've made a bunch of changes debugging something and I want to easily discard all of the debugging-only changes, the UI makes it really easy to commit or discard individual lines from the changeset.

Additionally, I set up an alias to open it from the command line (stree) and have it show whatever git directory I opened it from.

[–] [email protected] 2 points 1 year ago

Will it run on Linux? I use Sourcetree on Windows but didn't think it was available for Linux.

load more comments (3 replies)
load more comments (5 replies)