Aarkon@feddit.decake to Memes@lemmy.mlEnglish · 1 year agoI dearly needed to hear thatfeddit.deimagemessage-square9fedilinkarrow-up1164arrow-down112
arrow-up1152arrow-down1imageI dearly needed to hear thatfeddit.deAarkon@feddit.decake to Memes@lemmy.mlEnglish · 1 year agomessage-square9fedilink
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.
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.