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