Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git conflicted copy error while cloning a repository

I am using dropbox as a git repository.

Now due to some issue in the syncing, there is some conflicted copy present in the git. How do I remove this conflict ? Due to this conflict I am unable to clone the contents of that repository.

The error I am getting while cloning the repository is:-

Git :- fatal: Reference has invalid format: 'refs/heads/debugging (xyz conflictedcopy date) '

like image 289
Akash Deshpande Avatar asked Feb 10 '12 12:02

Akash Deshpande


1 Answers

Just delete every file in <Repo>/.git/ which ends in (... conflictedcopy <date>).

That will clean your git repo; the answer by Frank R. does in fact the same, while keeping the other by Dropbox abused files :)

like image 89
19h Avatar answered Sep 22 '22 15:09

19h