$ git clone -n https://gitee.com/zhaohang_mskdxl/diffstat.git /var/lib/mock/dist-an23.3-build-418069-72870/root/chroot_tmpdir/scmroot/diffstat Cloning into '/var/lib/mock/dist-an23.3-build-418069-72870/root/chroot_tmpdir/scmroot/diffstat'... $ git fetch origin 27bd74665af6f830590454251b57ed0bc9535443:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/diffstat * [new ref] 27bd74665af6f830590454251b57ed0bc9535443 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 27bd746 spec: add doc sub package