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

前端 未结 8 1600
时光说笑
时光说笑 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:46

    I encounterd the similar error such as

    fatal: Reference has invalid format: 'refs/heads/user-search-api (Sithu's conflicted copy 2016-01-08)'
    

    Simply deletion of the file .git/refs/heads/user-search-api (Sithu's conflicted copy 2016-01-08) in the remote Dropbox repository did solve the problem.

提交回复
热议问题