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