I got an error when I was trying to pull from a bare repo on an external hard drive:

error: dst ref refs/heads/synced/git-annex receives from more than one src

It was on my NAS and I also got some Write errors which made me think it was some issue with NTFS or maybe the permissions on my NAS. Maybe what my git-annex environment was setup as.

But it turns out that, while yes I should have been running the git-annex-wrapper /bin/sh-shell to do things, the real problem was that this repo was the repo I hadn’t pushed any commits to at all.

So if you see this error. Make sure this repo actually has the commits/files you expected it to have.

If you’re not using git-annex then… you might have a tag and branch with the same name and it’s confusing git when it’s trying to be helpful and not force you to say specifically if you’re referring to a branch or tag (e.g. ref/thing vs ref/branch/thing and ref/tag/thing)