Git fatal: Reference has invalid format: 'refs/heads/master

前端 未结 8 1604
时光说笑
时光说笑 2021-01-29 18:15

I am using Dropbox to sync a git repository, but now when I try and push I am getting an error:

fatal: Reference has inval         


        
8条回答
  •  深忆病人
    2021-01-29 18:51

    For me it was giving error: fatal: Reference has invalid format: 'refs/tags/r0.2:3'

    You can go to /.git/packed_refs file and delete the line for refs/tags/r0.2:3

    Then it started working. But why it happened in the first place I don't know.

提交回复
热议问题