No git's command is working anymore created a branch, made some commits. Then I made a recursive find and replace as so :
LANG=C find . -type f -name '*.*' -exec sed -i '' s/My\ sentence/My\ sentencevotre/ {} +
which worked properly, but now I can't commit, I can't reset hard, I have a serie of messages when reseting : error: packfile .git/objects/pack/pack-$SHA.pack does not match index ...
and when commiting :
warning: packfile .git/objects/pack/pack-$SHA.pack cannot be accessed .... error: invalid object 100644 $SHA for 'Doxyfile' error: Error building trees
How can I manage this ?