Monorepo Management with Git – Best Practices and Workflows: Difference between revisions

Line 189: Line 189:
=== 4.2 Partial clone (<code>--filter=blob:none</code>) ===
=== 4.2 Partial clone (<code>--filter=blob:none</code>) ===


'''Concept''' Download commits and trees, but '''skip file blobs''' until you actually need a file. Git will lazily fetch the blob on demand.
'''Concept'''  
 
Download commits and trees, but '''skip file blobs''' until you actually need a file. Git will lazily fetch the blob on demand.


'''Examples'''
'''Examples'''
Line 207: Line 209:
</blockquote>
</blockquote>
<span id="git-worktree-for-multi-branch-work"></span>
<span id="git-worktree-for-multi-branch-work"></span>
=== 4.3 <code>git worktree</code> for multi-branch work ===
=== 4.3 <code>git worktree</code> for multi-branch work ===