Using vscode
and windows 10
i get the error message:
warning: LF will be replaced by CRLF in debug.log.
The file will have its original line endings in your working directory.
error: read error while indexing all_ASMX_trades.gsheet: Invalid argument
error: all_ASMX_trades.gsheet: failed to insert into database
error: unable to index file all_ASMX_trades.gsheet
fatal: adding files failed
According to other answers on stack, this can be resolved with the following:
git config core.autocrlf true
For example this answer appears to be complete: LF will be replaced by CRLF in git - What is that and is it important?
However, this did not seem to resolve the error message which seems to relate to a google sheet
.
The only fix was to delete the google sheet, but naturally the user might want to use a google sheet (or other google docs).
So the question is, how to fix this error without having to remove the google sheet ?