undo accidental checkout