$ git clone -n https://src.fedoraproject.org/rpms/php-hamcrest2.git /var/lib/mock/f41-build-side-1-2661358-28741/root/chroot_tmpdir/scmroot/php-hamcrest2 Cloning into '/var/lib/mock/f41-build-side-1-2661358-28741/root/chroot_tmpdir/scmroot/php-hamcrest2'... $ git fetch origin a1ec889cd750b1b4b40ab4942517b5be79fdff2e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-hamcrest2 * [new ref] a1ec889cd750b1b4b40ab4942517b5be79fdff2e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a1ec889 convert license to SPDX