- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
cross-posted from: https://lemmy.ml/post/14581344
Looking great. Thanks.
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!
tl;dr
git add . git commit -a git push
You dropped
--force
Is there anyone other than me who read
reflog
as re-flog the first time?Every time.
Always need to remind myself that
git
doesn’t go around flogging anyone.Some people use git to flog, though. See
git blame
Tangent are these VCS Rosetta Stones that might be interesting to some:
-
Darcs/Git/Mercurial: https://darcs.net/RosettaStone
-
I always forget how to do the delete distant branch with the : IIRC.