this post was submitted on 20 Nov 2024
857 points (97.5% liked)

Programmer Humor

19821 readers
539 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
857
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 month ago (2 children)

Alright you convinced me its time to pick up this skill. How does one best learn git? Just play around with it and break things?

[–] [email protected] 7 points 1 month ago (1 children)

That's basically how I did it.

To properly learn it using this method, create a directory that contains only text files and sub directories and treat it like a real project. Add files, delete them, play around with updating the repository. Try and go back a few updates and see how the things react. Since it's not a real project there's no risk of loss, but you'll still get to see the effects of what you do.

[–] [email protected] 4 points 1 month ago

that's a necessary step in your learning process, but certainly not sufficient. I'd recommend reading the book, since it shows in greut detail the inner workings of Git along with the basic concepts :

https://git-scm.com/book/en/v2