$ git clone -n https://src.fedoraproject.org/rpms/kmag.git /var/lib/mock/f41-build-846340-163038/root/chroot_tmpdir/scmroot/kmag Cloning into '/var/lib/mock/f41-build-846340-163038/root/chroot_tmpdir/scmroot/kmag'... $ git fetch origin 9feebf1f5d034e38eff9bf416405785385f10179:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kmag * [new ref] 9feebf1f5d034e38eff9bf416405785385f10179 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9feebf1 24.08.0