$ git clone -n https://gitee.com/src-anolis-os/perl-Scalar-Properties.git /var/lib/mock/dist-an23-build-217322-62015/root/chroot_tmpdir/scmroot/perl-Scalar-Properties Cloning into '/var/lib/mock/dist-an23-build-217322-62015/root/chroot_tmpdir/scmroot/perl-Scalar-Properties'... $ git reset --hard origin/a23 HEAD is now at baeef2a init package