$ git clone -n https://src.fedoraproject.org/rpms/klettres.git /var/lib/mock/f40-build-745175-111965/root/chroot_tmpdir/scmroot/klettres Cloning into '/var/lib/mock/f40-build-745175-111965/root/chroot_tmpdir/scmroot/klettres'... $ git fetch origin 25ccb8aebce795c67039433980b1f3d5d04cfedd:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/klettres * [new ref] 25ccb8aebce795c67039433980b1f3d5d04cfedd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 25ccb8a 23.08.2