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 1 month ago
To be honest, as someone who only very tangentially works with git – it fucking scares me.
Ardyssian@sh.itjust.works 1 month ago
luciferofastora@feddit.org 1 month 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 1 month 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 1 month 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 1 month ago
No no, I was joking that it was simple