$ git clone -n https://src.fedoraproject.org/rpms/libspelling.git /var/lib/mock/f39-build-1543317-36553/root/chroot_tmpdir/scmroot/libspelling Cloning into '/var/lib/mock/f39-build-1543317-36553/root/chroot_tmpdir/scmroot/libspelling'... $ git fetch origin a8644e4d1d3fb1f1cc14e21ec79172c9f59564a5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libspelling * [new ref] a8644e4d1d3fb1f1cc14e21ec79172c9f59564a5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a8644e4 Initial package, resolves rhbz#2224499