$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-krb5.git /var/lib/mock/f42-build-862752-171084/root/chroot_tmpdir/scmroot/php-pecl-krb5 Cloning into '/var/lib/mock/f42-build-862752-171084/root/chroot_tmpdir/scmroot/php-pecl-krb5'... $ git fetch origin c76e772cde2d48b2d362228639a9a270059a1572:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-pecl-krb5 * [new ref] c76e772cde2d48b2d362228639a9a270059a1572 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c76e772 modernize the spec file