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