$ git clone -n https://gitee.com/src-anolis-os/perl-Test-Warnings.git /mnt/koji-mock/dist-an23-sw8a-build-459571-73710/root/chroot_tmpdir/scmroot/perl-Test-Warnings Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-459571-73710/root/chroot_tmpdir/scmroot/perl-Test-Warnings'... $ git reset --hard origin/a23 HEAD is now at 0cbfdd2 optimize spec file