$ git clone -n https://gitee.com/src-anolis-os/perl-XML-TokeParser.git /var/lib/mock/dist-an23-build-249222-63325/root/chroot_tmpdir/scmroot/perl-XML-TokeParser Cloning into '/var/lib/mock/dist-an23-build-249222-63325/root/chroot_tmpdir/scmroot/perl-XML-TokeParser'... $ git reset --hard origin/a23 HEAD is now at 6042fca init from upstream