$ git clone -n https://gitee.com/opencloudos-stream/jsr-305.git /var/lib/mock/dist-ocs23-build-42400-2059/root/chroot_tmpdir/scmroot/jsr-305 Cloning into '/var/lib/mock/dist-ocs23-build-42400-2059/root/chroot_tmpdir/scmroot/jsr-305'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/jsr-305 * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c93a7f7 update