@@ -113,7 +113,7 @@ <h3>Commit all unstaged changes:</h3>
113
113
</ div >
114
114
</ section >
115
115
116
- < section >
116
+ < section class =" print-break-before " >
117
117
< h2 id ="move-between-branches "> Move Between Branches</ h2 >
118
118
< div class ="item ">
119
119
< h3 > Switch branches:</ h3 >
@@ -181,7 +181,7 @@ <h3>Show a summary of a diff:</h3>
181
181
< code > git show <commit> --stat</ code >
182
182
</ div >
183
183
</ section >
184
- < section class ="commit-reference ">
184
+ < section class ="commit-reference print-break-before ">
185
185
< h2 id ="ways-to-refer-to-a-commit "> Ways to refer to a commit</ h2 >
186
186
< p class ="intro ">
187
187
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>
236
236
</ div >
237
237
</ section >
238
238
239
- < section >
239
+ < section class =" print-break-before " >
240
240
< h2 id ="edit-history "> Edit History</ h2 >
241
241
< div class ="item ">
242
242
< 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>
285
285
</ div >
286
286
</ section >
287
287
288
- < section >
288
+ < section class =" print-break-before " >
289
289
< h2 id ="combine-diverged-branches "> Combine Diverged Branches</ h2 >
290
290
< div class ="item ">
291
291
< h3 > Combine with rebase:</ h3 >
@@ -695,7 +695,7 @@ <h2 id="add-a-remote">Add a Remote</h2>
695
695
</ div >
696
696
</ section >
697
697
698
- < section >
698
+ < section class =" print-break-before " >
699
699
< h2 id ="push-your-changes "> Push Your Changes</ h2 >
700
700
< div class ="item ">
701
701
< 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>
757
757
</ div >
758
758
</ section >
759
759
760
- < section >
760
+ < section class =" print-break-before " >
761
761
< h2 id ="important-files "> Important Files</ h2 >
762
762
< div class ="item ">
763
763
< h3 > Local git config:</ h3 >
0 commit comments