$ git clone -n https://gitee.com/src-anolis-os/wget.git /var/lib/mock/dist-an23-build-184299-60380/root/chroot_tmpdir/scmroot/wget Cloning into '/var/lib/mock/dist-an23-build-184299-60380/root/chroot_tmpdir/scmroot/wget'... $ git fetch origin 0d0872587e3aabc2102c9e70bb91cd6acff2aeb1:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/wget * [new ref] 0d0872587e3aabc2102c9e70bb91cd6acff2aeb1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0d08725 spec: add doc sub package