a git cheat sheet - Julia Evans
cross-posted from: https://lemmy.ml/post/14581344
https://social.jvns.ca/@b0rk/112288027169476498
You're viewing a single thread.
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"
That's what the reflog is for!
More like “don’t fuck around (but of course the answer is some subset of git checkout (which is probably Turing-fucking-complete)), and find out anyway”.
git checkout