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