$ git clone -n https://gitee.com/src-anolis-os/man-db.git /var/lib/mock/dist-an8.8-build-278695-64448/root/chroot_tmpdir/scmroot/man-db Cloning into '/var/lib/mock/dist-an8.8-build-278695-64448/root/chroot_tmpdir/scmroot/man-db'... $ git fetch origin 010db09550e61a0253a0541b86b26911e428a1ca:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/man-db * [new ref] 010db09550e61a0253a0541b86b26911e428a1ca -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 010db09 spec: add doc sub package