git reflog is my best friend It can undo things that normally one would think are “undoable”
Comment on i want to see what is in the stash
zakobjoa@lemmy.world 3 weeks ago
To be honest, as someone who only very tangentially works with git – it fucking scares me.
Ardyssian@sh.itjust.works 3 weeks ago
luciferofastora@feddit.org 3 weeks ago
The idea of having to dig through a reflog is scary too if you don’t have a confident intuition of how the refs work in the first place
ryedaft@sh.itjust.works 3 weeks ago
It’s simple really. Like saving a computer game and then if something doesn’t work out you can go back to a previous save game.
It only really gets tricky when multiple people are continuing on the same save and you want progress from both when you load it. But you can leave that to the most senior person to figure out.
zakobjoa@lemmy.world 3 weeks ago
I understand the basic concept, but what with all the forked diagrams and heads and mains and I just want to try something with my one changed parameter in one config file
ryedaft@sh.itjust.works 3 weeks ago
No no, I was joking that it was simple