@[email protected]M to [email protected]English • edit-21 year agoYour Git horror storiesprogramming.devimagemessage-square52fedilinkarrow-up1445arrow-down15file-text
arrow-up1440arrow-down1imageYour Git horror storiesprogramming.dev@[email protected]M to [email protected]English • edit-21 year agomessage-square52fedilinkfile-text
We all have been there… For the beginner it’s easy to mess things up. What are your horror stories with Git? Link to xkcd
minus-square@earthquakelinkEnglish1•edit-21 year agogit merge --abort or, after it’s been done, the nuclear option is to git reflog, find the state before your did the merge, and git reset HEAD@{4} or whatever HEAD@{#} it is.
git merge --abort
or, after it’s been done, the nuclear option is to
git reflog
, find the state before your did the merge, andgit reset HEAD@{4}
or whatever HEAD@{#} it is.