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