$ git clone -n https://gitee.com/src-anolis-os/perl-version.git /var/lib/mock/dist-an23-build-209377-61863/root/chroot_tmpdir/scmroot/perl-version Cloning into '/var/lib/mock/dist-an23-build-209377-61863/root/chroot_tmpdir/scmroot/perl-version'... $ git reset --hard origin/a23 HEAD is now at 3cb3d68 remove versioned MODULE_COMPAT_ requires