Skip to content

Commit 8b2a608

Browse files
authored
cheat sheet: don't wrap in the middle of --sort=-committerdate (#2075)
@michaelblyons commented in #2049 (comment) : > May I request that git branch --sort=-committerdate use CSS that breaks at git branch / --sort=... instead of at --sort=- / committerdate if possible? I think it looks better this way too <img width="327" height="123" alt="image" src="https://github.com/user-attachments/assets/8ebe0a0a-024d-4c9e-92b2-1646ff2c6ddd" />
2 parents 4c12eac + e0b756c commit 8b2a608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/cheat-sheet/_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ <h3>List branches:</h3>
133133
</div>
134134
<div class="item">
135135
<h3>List branches by most recently committed to:</h3>
136-
<code>git branch --sort=-committerdate</code>
136+
<code>git branch <span style="white-space: nowrap;">--sort=-committerdate</span></code>
137137
</div>
138138
<div class="item">
139139
<h3>Delete a branch:</h3>

0 commit comments

Comments
 (0)