How to diagnose and fix git fatal: unable to read tree

前端 未结 5 895
误落风尘
误落风尘 2020-11-30 03:06

I\'m using git to manage files on a project, and keep running into this problem.

When I run git status I get the message

fa         


        
5条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-30 03:30

    A bit funny, but it's possible this will help someone.

    I just bought a new computer and my repository was in a Dropbox folder. Turns out the .git folder was still syncing as I was trying to get to work. Once the folder finished syncing, everything was normal.

提交回复
热议问题