$ git clone -n https://gitee.com/src-anolis-os/json-c.git /mnt/mock/kojid//dist-an23.3-riscv-build-436569-73130/root/chroot_tmpdir/scmroot/json-c Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436569-73130/root/chroot_tmpdir/scmroot/json-c'... $ git fetch origin e33ff575186b3178370f4845219d8aa7ad540c5a:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/json-c * [new ref] e33ff575186b3178370f4845219d8aa7ad540c5a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e33ff57 update to 0.17