1

fatal: index file smaller than expected on git

HI While i am trying to make git pull I am facing the Following error

fatal: index file smaller than expected on git
gitlab Add a comment
andrew
asked Dec 22 2018

Answer

1

Inorder to prevent from this error follow the procedure

rm .git/index
git add .

or

mv .git/index .git/index.backup
git add .
Add a comment
linuxhelp
asked Jan 05 2019
Post your Answer