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