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