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

Line 150: Line 150:
=== 4.1 <code>git sparse-checkout</code> (concept + quick start) ===
=== 4.1 <code>git sparse-checkout</code> (concept + quick start) ===


'''Concept''' Only materialize selected folders in your working tree. You ''see and build'' only what you need.
'''Concept'''  
 
Only materialize selected folders in your working tree. You ''see and build'' only what you need.


'''Steps (cone mode is easiest):'''
'''Steps (cone mode is easiest):'''
Line 182: Line 184:


<span id="partial-clone---filterblobnone"></span>
<span id="partial-clone---filterblobnone"></span>
=== 4.2 Partial clone (<code>--filter=blob:none</code>) ===
=== 4.2 Partial clone (<code>--filter=blob:none</code>) ===