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