$ git clone -n https://gitee.com/src-anolis-os/perl-XML-RegExp.git /mnt/koji-mock/dist-an23-sw8a-build-459673-73710/root/chroot_tmpdir/scmroot/perl-XML-RegExp Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-459673-73710/root/chroot_tmpdir/scmroot/perl-XML-RegExp'... $ git reset --hard origin/a23 HEAD is now at ee9e51b !1 init pacakge from upstream Merge pull request !1 from happy_orange/a23