$ git clone -n https://gitee.com/dian-ws/http-parser.git /var/lib/mock/dist-an23-build-216009-61988/root/chroot_tmpdir/scmroot/http-parser Cloning into '/var/lib/mock/dist-an23-build-216009-61988/root/chroot_tmpdir/scmroot/http-parser'... $ git reset --hard ce1db8c5f6a7e56acceaa208030564f4cc36acc5 HEAD is now at ce1db8c optimize the spec file