$ git clone -n https://gitee.com/src-anolis-os/perl-IO-Compress.git /var/lib/mock/dist-an23-build-252248-63473/root/chroot_tmpdir/scmroot/perl-IO-Compress Cloning into '/var/lib/mock/dist-an23-build-252248-63473/root/chroot_tmpdir/scmroot/perl-IO-Compress'... $ git reset --hard origin/a23 HEAD is now at dacc1ad Refactor the specfile and remove tests sub-package