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