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