Total newbie here, so I apologize in advice for asking dumb questions. I did my best to look through the branchable docs, Google, etc to no avail.
I'm trying to use git-annex to manage my music collection (on Windows). I added and pushed 669 songs to GitLab from my desktop.
At this point, my music is on both the first folder and GitLab (worth noting that I still don't know where to find the binaries on GitLab...).
Then just as a test, tried to clone the repo and run git annex sync --content
.
I get the following error:
error: dst ref refs/heads/synced/git-annex receives from more than one src.
error: failed to push some refs to 'git@gitlab.com:repolocation/Songs.git'
I figure it's because the files are both on GitLab and the other folder, but I'm not sure how to proceed.
Would appreciate any help, thanks!
This error message is a
git push
error message. I've never seen this error before..http://www.markhneedham.com/blog/2013/06/13/git-having-a-branchtag-with-the-same-name-error-dst-refspec-matches-more-than-one/ Shows one way to get into this situation, where a repository somehow has a tag with the same name as the branch that is being pushed.
https://lostechies.com/jasonmeridth/2010/02/27/refspec-matches-more-than-one/> Similarly shows it being a conflict between a tag and a branch; this time the tag exists in the local repository.
I guess you've run into some problem like this. If there's an easy way to reproduce the problem using just git-annex commands, and not manaul tag creation etc, please file a bug report with details.