Therefore, we isolated gene‐edited GMEC from the mammary glands of GED goats for experimental validation to determine the mechanism of the resistance in GED goats to mastitis with high LYZ expression and exploring whether gene‐edited GMEC exerts a potential anti‐inflammatory effect by modulating HMGB1 expression following elevated levels of LYZ. The gene discussed is LYZ; the disease is mastitis.