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