$ git clone -n https://gitee.com/opencloudos-stream/php-pecl-ip2location.git /var/lib/mock/dist-oc9-epol-build-94951-59578/root/chroot_tmpdir/scmroot/php-pecl-ip2location Cloning into '/var/lib/mock/dist-oc9-epol-build-94951-59578/root/chroot_tmpdir/scmroot/php-pecl-ip2location'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/php-pecl-ip2location * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 95422e5 package init