$ git clone -n https://src.fedoraproject.org/rpms/recoll.git /var/lib/mock/f41-build-851012-165853/root/chroot_tmpdir/scmroot/recoll Cloning into '/var/lib/mock/f41-build-851012-165853/root/chroot_tmpdir/scmroot/recoll'... $ git fetch origin dfd2046b6b32a60041074ef15b1e43bea6d54edf:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/recoll * [new ref] dfd2046b6b32a60041074ef15b1e43bea6d54edf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dfd2046 Fix source urls