$ git clone -n https://gitee.com/src-anolis-os/hplip.git /var/lib/mock/dist-an8.10-build-542419-85670/root/chroot_tmpdir/scmroot/hplip Cloning into '/var/lib/mock/dist-an8.10-build-542419-85670/root/chroot_tmpdir/scmroot/hplip'... $ git fetch origin 364283f286abc6d4d49499952c811177eb2d00f7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/hplip * [new ref] 364283f286abc6d4d49499952c811177eb2d00f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 364283f spec: add doc sub package