The hard drives of our local machines fill up with large files that are stored in Git LFS but that are not currently checked out.
It would be convenient if everything that is not part of the current commit was only stored at the server and downloaded as needed if a commit "exposes" them.
Is this possible using some configuration or are there any other Git extensions that could help?
Edit: A similar question suggests using git lfs prune
. That doesn't do what I want since the files I wish removed from the local computer are not deleted. They are just not visible in the current commit.