Reminder to read the official git book. It's free and it's useful. My dudes, stop pretending to understand your tools and actually learn them.
I like this graphic, some of my favourites:
git log --oneline is super useful for getting just a list of title of commits and nothing else
git bisect is a little known but extremely useful git archaeology command that automates binary searching for a regression.
Great cheat sheet, but has a really poor quality, even when I download it. It may be problem on my side. The original on mastonon has good image quality.
I've edited this post and linked to the original on Mastodon.
Gits motto should be “fuck around and find out”
More like "don't fuck around but find out anyway".
"Fuck around, have no idea HOW you fucked around, fuck around some more trying to fix it, find out how badly you've collectively fucked around"
tl;dr
bash
git add .
git commit -a
git push
Is there anyone other than me who read reflog as re-flog the first time?