Undo changes which shouldn't have been committed yet.