$ git clone -n https://gitee.com/src-anolis-os/perl-Want.git /mnt/koji-mock/dist-an23-sw8a-build-459650-73710/root/chroot_tmpdir/scmroot/perl-Want Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-459650-73710/root/chroot_tmpdir/scmroot/perl-Want'... $ git reset --hard origin/a23 HEAD is now at 28f2228 Init package from upstream