$ git clone -n https://gitee.com/src-anolis-os/perl-PathTools.git /var/lib/mock/dist-an23-loongarch-build-310466-66339/root/chroot_tmpdir/scmroot/perl-PathTools Cloning into '/var/lib/mock/dist-an23-loongarch-build-310466-66339/root/chroot_tmpdir/scmroot/perl-PathTools'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/perl-PathTools * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2cc879 Optimize the spec file