@[email protected]M to [email protected]English • edit-21 year agoYour Git horror storiesprogramming.devimagemessage-square52fedilinkarrow-up1444arrow-down15file-textcross-posted to: xkcd
arrow-up1439arrow-down1imageYour Git horror storiesprogramming.dev@[email protected]M to [email protected]English • edit-21 year agomessage-square52fedilinkfile-textcross-posted to: xkcd
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.