Is there a way in git to track binary files without git caring about the contents? The tracking would mainly be for historical reasons.
If not; is there a way to have git track all files but ignore contents of files over N size?
Is there a way in git to track binary files without git caring about the contents?
Not with native git.
You can check-out git-annex, which is pretty close of what you want.
git-annexallows managing files with git, without checking the file contents into git.While that may seem paradoxical, it is useful when dealing with files larger than git can currently easily handle, whether due to limitations in memory, time, or disk space.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With