$ git clone -n https://src.fedoraproject.org/rpms/kiriki.git /var/lib/mock/f40-build-790842-136877/root/chroot_tmpdir/scmroot/kiriki Cloning into '/var/lib/mock/f40-build-790842-136877/root/chroot_tmpdir/scmroot/kiriki'... $ git fetch origin 4f0cf5319b113a69ac3550e2245636c738d50be6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kiriki * [new ref] 4f0cf5319b113a69ac3550e2245636c738d50be6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4f0cf53 24.02.0