$ git clone -n https://gitee.com/src-anolis-os/hostname.git /mnt/mock/kojid//dist-an23.3-riscv-build-436415-73130/root/chroot_tmpdir/scmroot/hostname Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436415-73130/root/chroot_tmpdir/scmroot/hostname'... $ git fetch origin 36e5b093c0a8655fa064b065c42ed89a49fef736:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/hostname * [new ref] 36e5b093c0a8655fa064b065c42ed89a49fef736 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 36e5b09 Optimize spec and add doc package