Copied files & sub-directories into local working directory...then did "git add [sub-directory name]" Tons of warnings in git console: "warning: LF will be replaced by CRLF in [insert sub-directory or file name here]. The file will have its original line ending in your working directory." The console scrolls through as it seemingly adds files in the working directory to be tracked, completes add. When following this with "git status" I get the following:
error: bad index file sha1 signature
fatal: index file corrupt
fatal: git status --porcelain failed
Now I already know how to reset the git index (rm -f .git/index
then git reset
...thanks to Stackoverflow), but why is the above error message cropping up? Is it because I'm trying to add too many files at once (< 600MB)...or because I'm exceeding storage limits on my micro git account (a soft limit of 0.6 GB)? (FYI: If I reset the index, the files are no longer added. If I repeat the same thing, I get the same error when I try to check the status.)