$ git clone -n https://gitee.com/src-anolis-os/perl-Canary-Stability.git /var/lib/mock/dist-an23-build-205585-61158/root/chroot_tmpdir/scmroot/perl-Canary-Stability Cloning into '/var/lib/mock/dist-an23-build-205585-61158/root/chroot_tmpdir/scmroot/perl-Canary-Stability'... $ git reset --hard origin/a23 HEAD is now at 04af052 Import package for anolis 23