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