In this paper,a high accuracy numerical scheme is constructed for the generalized Burgers-Fisher equation with Dirichlet boundary or Neumann boundary conditions.Firstly,the Lagrange interpolation polynomial differential quadrature method with uni-form grid and Chebyshev-Gauss-Lobatto grid is used in space,and the third-order strong stability-preserving Runge-Kutta scheme is used in time.Secondly,the stability of the scheme is analyzed by using the matrix method.Finally,two numerical examples with different boundary conditions are calculated,and the results are compared with other numerical methods to verify the effectiveness of the proposed scheme.