$ git clone -n https://gitee.com/src-anolis-os/perl-Test-HasVersion.git /var/lib/mock/dist-an23-build-212937-61947/root/chroot_tmpdir/scmroot/perl-Test-HasVersion Cloning into '/var/lib/mock/dist-an23-build-212937-61947/root/chroot_tmpdir/scmroot/perl-Test-HasVersion'... $ git reset --hard origin/a23 HEAD is now at 6573df3 Import package for anolis 23