@@ -113,7 +113,7 @@ <h3>Commit all unstaged changes:</h3>
113113 </ div >
114114 </ section >
115115
116- < section >
116+ < section class =" print-break-before " >
117117 < h2 id ="move-between-branches "> Move Between Branches</ h2 >
118118 < div class ="item ">
119119 < h3 > Switch branches:</ h3 >
@@ -181,7 +181,7 @@ <h3>Show a summary of a diff:</h3>
181181 < code > git show <commit> --stat</ code >
182182 </ div >
183183 </ section >
184- < section class ="commit-reference ">
184+ < section class ="commit-reference print-break-before ">
185185 < h2 id ="ways-to-refer-to-a-commit "> Ways to refer to a commit</ h2 >
186186 < p class ="intro ">
187187 Every time we say < code > <commit></ code > , you can use any of these:
@@ -236,7 +236,7 @@ <h3>'Stash' all staged and unstaged changes:</h3>
236236 </ div >
237237 </ section >
238238
239- < section >
239+ < section class =" print-break-before " >
240240 < h2 id ="edit-history "> Edit History</ h2 >
241241 < div class ="item ">
242242 < h3 > "Undo" the most recent commit (keep your working directory the same):</ h3 >
@@ -285,7 +285,7 @@ <h3>Show who last changed each line of a file:</h3>
285285 </ div >
286286 </ section >
287287
288- < section >
288+ < section class =" print-break-before " >
289289 < h2 id ="combine-diverged-branches "> Combine Diverged Branches</ h2 >
290290 < div class ="item ">
291291 < h3 > Combine with rebase:</ h3 >
@@ -695,7 +695,7 @@ <h2 id="add-a-remote">Add a Remote</h2>
695695 </ div >
696696 </ section >
697697
698- < section >
698+ < section class =" print-break-before " >
699699 < h2 id ="push-your-changes "> Push Your Changes</ h2 >
700700 < div class ="item ">
701701 < h3 > Push the < code > main</ code > branch to the remote < code > origin</ code > :</ h3 >
@@ -757,7 +757,7 @@ <h3>See all possible config options:</h3>
757757 </ div >
758758 </ section >
759759
760- < section >
760+ < section class =" print-break-before " >
761761 < h2 id ="important-files "> Important Files</ h2 >
762762 < div class ="item ">
763763 < h3 > Local git config:</ h3 >
0 commit comments