this post was submitted on 20 Nov 2024
768 points (97.4% liked)

Programmer Humor

19645 readers
2374 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 1 year ago
MODERATORS
768
submitted 21 hours ago* (last edited 20 hours ago) by [email protected] to c/programmer_humor
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 7 hours ago

For a first step you can get away with just add, commit, push, and pull. Maybe reset, but tbh using git like svn at first is fine.

Next branch, checkout and merge. At this point show, log, bisect and blame also start to be useful.

I'm not a fan of stash, and would instead recommend reflog and cherry-pick as the first two advanced commands to learn. Then rebase and squash.