$ git clone -n https://gitee.com/src-anolis-os/perl-Sys-Syslog.git /mnt/mock/kojid//dist-an23.3-riscv-build-438402-73130/root/chroot_tmpdir/scmroot/perl-Sys-Syslog Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438402-73130/root/chroot_tmpdir/scmroot/perl-Sys-Syslog'... $ git fetch origin 71cdbcda700db2d4de3e4f0c7db1583df8d15a56:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/perl-Sys-Syslog * [new ref] 71cdbcda700db2d4de3e4f0c7db1583df8d15a56 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71cdbcd Optimize the spec file