$ git clone -n https://gitee.com/src-anolis-os/libesmtp.git /mnt/mock/kojid//dist-an23.3-riscv-build-437123-73130/root/chroot_tmpdir/scmroot/libesmtp Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-437123-73130/root/chroot_tmpdir/scmroot/libesmtp'... $ git fetch origin 8822dbece19962cf46d5ea3a5f0a4fca6cab16f2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libesmtp * [new ref] 8822dbece19962cf46d5ea3a5f0a4fca6cab16f2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8822dbe fix