$ git clone -n https://gitee.com/src-anolis-os/perl-Test-Simple.git /var/lib/mock/dist-an8.9-build-385127-71947/root/chroot_tmpdir/scmroot/perl-Test-Simple Cloning into '/var/lib/mock/dist-an8.9-build-385127-71947/root/chroot_tmpdir/scmroot/perl-Test-Simple'... $ git fetch origin 8936e80d2d6d1836f9883ed401da6d054bf74d9e:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/perl-Test-Simple * [new ref] 8936e80d2d6d1836f9883ed401da6d054bf74d9e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8936e80 spec: add sub doc package