chable
from any reference, that file can never be pruned, regardless of how old
it is.</p>
</div>
<div class="paragraph">
<p>To determine whether an LFS file has been pushed, we check the
difference between local refs and remote refs; where the local ref is
ahead, any LFS files referenced in those commits is unpushed and will
not be deleted. This works because the LFS pre-push hook always ensures
that LFS files are pushed before the remote branch is updated.</p>
</div>
<div class="paragraph">
<p>See <a href