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