$ git clone -n https://gitee.com/src-anolis-os/xrdb.git /mnt/mock/kojid//dist-an23.3-riscv-build-439815-73130/root/chroot_tmpdir/scmroot/xrdb Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439815-73130/root/chroot_tmpdir/scmroot/xrdb'... $ git fetch origin ec01d98c6d921d01fdd4d2408f37c679784e558f:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xrdb * [new ref] ec01d98c6d921d01fdd4d2408f37c679784e558f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ec01d98 optimise spec file