The invention discloses a cutting head type shortwall coal-winning machine and comprehensive mechanized coal mining technology. A tunneller type cutting device is used, and the coal-winning machine is a hydromechatronics coal-winning machine which is in electric traction, electrically drags a cutting head, carries out hydraulic drive to change a cutting arm pitch angle and swings inside and outside the working face. The coal-winning machine mainly comprises a machine body, a cutting device, a travelling mechanism, a coal shovelling device, an auxiliary device, an auxiliary hydraulic system and an electrical control system. The coal-winning technology uses technical equipment, such as a coal-winning machine, a hydraulic support, a scraper conveyor, an elevating conveyor, a breaker, a crossheading belt, an advance support hydraulic support and the like. The technical flow is as follows: the coal-winning machine retracts to the working surface tail, a scraper-trough conveyer is pushed tocoal wall, coal is cut to the machine head, the machine is retracted, coal is cleaned, and the support is pulled. The coal-winning machine has compact structure, small volume and weight, strong adaptability and convenient installation and transportation, can solve a series of problems of four low, three high, two long and one poor in small and medium coal mining technology and provides matching coal mining technology.