8000 Add section on 'Expanding Context in Diffs' · s30java/github-cheat-sheet@7ed1ce6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ed1ce6

Browse files
author
Rafal Chmiel
committed
Add section on 'Expanding Context in Diffs'
1 parent 60a542c commit 7ed1ce6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ All the hidden and not hidden features of Git and GitHub. This cheat sheet was i
2424
- [Diffs](#diffs)
2525
- [Rendered Prose Diffs](#rendered-prose-diffs)
2626
- [Diffable Maps](#diffable-maps)
27+
- [Expanding Context in Diffs](#expanding-context-in-diffs)
2728
- [Emojis](< 9647 span class="pl-corl">#emojis)
2829
- [Images/GIFs](#imagesgifs)
2930
- [Quick Quoting](#quick-quoting)
@@ -321,6 +322,13 @@ Any time you view a commit or pull request on GitHub that includes geodata, GitH
321322

322323
[*Read more about diffable maps.*](https://github.com/blog/1772-diffable-more-customizable-maps)
323324

325+
### Expanding Context in Diffs
326+
Using the *unfold* button in the gutter of a diff, you can reveal additional lines of context with a click. You can keep clicking *unfold* until you've revealed the whole file, and the feature is available anywhere GitHub renders diffs.
327+
328+
![Expanding Context in Diffs](https://f.cloud.github.com/assets/22635/1610539/863c1f64-5584-11e3-82bf-151b406a272f.gif)
329+
330+
[*Read more about expanding context in diffs.*](https://github.com/blog/1705-expanding-context-in-diffs)
331+
324332
## Emojis
325333

326334
Emojis can be generated on Pull Requests, Issues, Commit Messages, READMEs, etc. using `:name_of_emoji:`

0 commit comments

Comments
 (0)
0