$ git clone -n https://gitee.com/opencloudos-stream/json-c.git /var/lib/mock/dist-ocs23-base-build-270829-25836/root/chroot_tmpdir/scmroot/json-c Cloning into '/var/lib/mock/dist-ocs23-base-build-270829-25836/root/chroot_tmpdir/scmroot/json-c'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/json-c * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9c0e512 Rebuilt for loongarch release