Git Troubleshooting

fatal: index file smaller than expected

Fix:
rm .git/index
git add .

Can’t push to Github, authentication (or similar) error. Gives a long list of possible solutions including logging out/back in etc.

Fix:

  • Delete .git folder from local version
  • Git Init in folder
  • Try again

Twentytwo Digital

General updates from the team.