$ git clone -n https://gitee.com/opencloudos-stream/rubygem-snmp.git /var/lib/mock/dist-oc9-epol-build-96130-59766/root/chroot_tmpdir/scmroot/rubygem-snmp Cloning into '/var/lib/mock/dist-oc9-epol-build-96130-59766/root/chroot_tmpdir/scmroot/rubygem-snmp'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rubygem-snmp * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e56b75a package init