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