Aarkon@feddit.de to Memes@lemmy.mlEnglish · 1 year agoI dearly needed to hear thatfeddit.deimagemessage-square8fedilinkarrow-up1161arrow-down112
arrow-up1149arrow-down1imageI dearly needed to hear thatfeddit.deAarkon@feddit.de to Memes@lemmy.mlEnglish · 1 year agomessage-square8fedilink
minus-squareLuvon@beehaw.orglinkfedilinkEnglisharrow-up5·1 year agoWorst words heard today: reset has reset to the last head that was pushed to remote Goodbye three local commits, I’ll miss you
minus-squareimplicit_cast@kbin.sociallinkfedilinkarrow-up5·1 year agogit reflog! It gives the history of commits that your HEAD has previously pointed at. If a rebase goes bad, you can fish out your old HEAD and recover your pre-rebase state.
minus-squareGBU_28@lemm.eelinkfedilinkEnglisharrow-up2·1 year agoWhen 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.
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.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.