I hate git and I'm bad at it. I have a question.
I have a repo with two remotes, RA and RB. Both are on BitBucket. Both remotes use git-lfs. On BitBucket, each repo has its own unique git-lfs endpoint associated with it.
I wish to check out branch bb, which is in repo RB. I say `git fetch RB bb`. Then I say `git checkout -b bb --track RB/bb`. It fails with "Object does not exist on the server: [404]" during lfs smudge. It prints the hash, and I can confirm, yup, that hash is in the server.
You might wish to set `lfs.remote.searchall` git config element to true. I've learned that by finding https://github.com/git-lfs/git-lfs/blob/main/config/config.go#L227
Actually, https://manpages.debian.org/testing/git-lfs/git-lfs-config.5.en.html describes a bit more of how lfs finds the correct remote. It seems to be settable per branch, but I don't get how the default heuristics work.
@robryk Okay I don't understand this but it sounds *very* useful, thank you, I'll come back and think about it hard later