In this paper, a Lie symmetry method is used for the nonlinear generalized Camassa–Holm equation and as a result reduction of the order and computing the conservation laws are presented. Furthermore, μ-symmetry and μ-conservation laws of the generalized Camassa–Holm equation are obtained