Cloning a git repo, and it already has a dirty working directory… Whaaaaa?

后端 未结 7 1697
北荒
北荒 2020-11-30 04:54

So, I\'m confused as to what\'s going on. I\'ve never hacked on the linux kernel, so maybe this is commonplace. If that\'s the case, sorry for the newb question.

<         


        
相关标签:
7条回答
  • 2020-11-30 05:34

    One thing you can try is git update-index --refresh in case somehow the cache of filestat information got wonked in the process of cloning (maybe by an ntpd clock adjustment or such?). If that doesn't help, we'll probably need to know what the output of git diff looks like to help you more.

    0 讨论(0)
提交回复
热议问题