$ git clone -n https://gitee.com/src-anolis-os/perl-XML-Parser.git /var/lib/mock/dist-an23-build-208740-61843/root/chroot_tmpdir/scmroot/perl-XML-Parser Cloning into '/var/lib/mock/dist-an23-build-208740-61843/root/chroot_tmpdir/scmroot/perl-XML-Parser'... $ git reset --hard origin/a23 HEAD is now at 00b877f init from upstream