I tried; unfortunately it was for talend which really bastardized how git is used. And I was unable to make reflog go back. I could see it. I tried to check it out and the ide was sure there was no code to push and that it was on the correct branch still.
Joy of low code tooling. They make the files impossible to work with directly and break and bend text tooling to work in ways it was never designed.
Oh and you have to use their ide which is based on eclipse, and they removed dark mode.
Worst words heard today: reset has reset to the last head that was pushed to remote
Goodbye three local commits, I’ll miss you
git reflog
! It gives the history of commits that yourHEAD
has previously pointed at.If a rebase goes bad, you can fish out your old
HEAD
and recover your pre-rebase state.I tried; unfortunately it was for talend which really bastardized how git is used. And I was unable to make reflog go back. I could see it. I tried to check it out and the ide was sure there was no code to push and that it was on the correct branch still.
Joy of low code tooling. They make the files impossible to work with directly and break and bend text tooling to work in ways it was never designed.
Oh and you have to use their ide which is based on eclipse, and they removed dark mode.
Talend is really terrible.
When I have zero faith in myself I’m not above copying the whole committed file and pasting it.in a dm to myself in slack.
Sometimes you’re in a rush and it’s good to look after yourself lol.
Also reflog, but the void is calling for code.