$ git clone -n https://gitee.com/opencloudos-stream/rubygem-rspec.git /var/lib/mock/dist-ocs23-build-47430-2059/root/chroot_tmpdir/scmroot/rubygem-rspec Cloning into '/var/lib/mock/dist-ocs23-build-47430-2059/root/chroot_tmpdir/scmroot/rubygem-rspec'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rubygem-rspec * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 76b4537 OCS package init