Use git add --ignore-errors .
This will still give an error for the unreadable file(s), but not a fatal one. The other files will be added.
Use git add --ignore-errors .
This will still give an error for the unreadable file(s), but not a fatal one. The other files will be added.