I have a repo containing large files, and I regularly push the repo to two remotes, let's say github
and origin
. github
requires lfs for files larger than 100MB, no problem, I track those files and push to github
successfully.
But the problem is, origin
doesn't support lfs, but it doesn't have that 100MB file size limit. So when I push the repo, it failed.
What I want to achieve is, track those large files using lfs for github
, and untrack them (treat them as regular files) for origin
, how to do that?