$ git clone -n https://gitee.com/src-anolis-os/perl-XML-SAX.git /var/lib/mock/dist-an23-build-218833-62053/root/chroot_tmpdir/scmroot/perl-XML-SAX Cloning into '/var/lib/mock/dist-an23-build-218833-62053/root/chroot_tmpdir/scmroot/perl-XML-SAX'... $ git reset --hard origin/a23 HEAD is now at 527857b init package