If you mess something up within a git rebase, e.g. git rebase --abort
, while you have uncommitted files, they will be lost and git reflog
will not help. This happened to me and you will need to think outside the box here. If you are lucky like me and use IntelliJ Webstorm then you can right-click->local history
and can revert to a previous state of your file/folders no matter what mistakes you have done with versioning software. It is always good to have another failsafe running.
↧
Answer by meshfields for Undoing a git rebase
↧