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