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