You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
79
79
80
80
## GitHub
81
81
### Ignore Whitespace
82
-
Adding `?w=1` to any diff URL will remove any changes only in whitespace, enabling you to see only that code that has changed.
82
+
Adding `?w=1` to any diff URL will remove any changes only in whitespace, enabling you to see only the code that has changed.
83
83
84
84

85
85
@@ -138,7 +138,7 @@ To use GitHub to compare branches, change the URL to look like this:
Add `.pibb` to the end of any Gist URL ([like this](https://gist.github.com/tiimgreen/10545817.pibb)) in order to get the *HTMLonly* version suitable for embedding in any other site.
191
+
Add `.pibb` to the end of any Gist URL ([like this](https://gist.github.com/tiimgreen/10545817.pibb)) in order to get the *HTML-only* version suitable for embedding in any other site.
192
192
193
193
Gists can be treated as a repository so they can be cloned like any other:
194
194
@@ -236,7 +236,7 @@ When on a repository page, keyboard shortcuts allow you to navigate easily.
236
236
- Pressing `w` will bring up the branch selector.
237
237
- Pressing `s` will focus the search field for the current repository. Pressing Backspace to delete the “This repository” pill changes the field to search all of GitHub.
238
238
- Pressing `l` will edit labels on existing Issues.
239
-
- Pressing `y`**when looking at a file** (e.g. `https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md`) will change your URL to one which, in effect, freezes the page you are looking at. If this code changes, you will still be able to see what you saw at that current time.
239
+
- Pressing `y`**when looking at a file** (e.g.,`https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md`) will change your URL to one which, in effect, freezes the page you are looking at. If this code changes, you will still be able to see what you saw at that current time.
240
240
241
241
To see all of the shortcuts for the current page press `?`:
242
242
@@ -245,9 +245,9 @@ To see all of the shortcuts for the current page press `?`:
245
245
[Read more about search syntax you can use.](https://help.github.com/articles/search-syntax/)
246
246
247
247
### Line Highlighting in Repositories
248
-
Either adding `#L52` to the end of a code file URL or simply clicking the line number will highlight that line number.
248
+
Either adding, e.g.,`#L52` to the end of a code file URL or simply clicking the line number will highlight that line number.
249
249
250
-
It also works with ranges, e.g. `#L53-L60`, to select ranges, hold `shift` and click two lines:
250
+
It also works with ranges, e.g.,`#L53-L60`, to select ranges, hold `shift` and click two lines:
@@ -478,7 +478,7 @@ Relative links are recommended in your Markdown files when linking to internal c
478
478
[Link to a file](docs/readme)
479
479
```
480
480
481
-
Absolute links have to be updated whenever the URL changes (e.g. repository renamed, username changed, project forked). Using relative links makes your documentation easily stand on its own.
481
+
Absolute links have to be updated whenever the URL changes (e.g., repository renamed, username changed, project forked). Using relative links makes your documentation easily stand on its own.
482
482
483
483
[*Read more about relative links.*](https://help.github.com/articles/relative-links-in-readmes/)
484
484
@@ -522,7 +522,7 @@ You can revert it by clicking the **Revert** button on the right side of a commi
522
522
523
523
### Diffs
524
524
#### Rendered Prose Diffs
525
-
Commits and pull requests, including rendered documents supported by GitHub (e.g. Markdown), feature *source* and *rendered* views.
525
+
Commits and pull requests, including rendered documents supported by GitHub (e.g., Markdown), feature *source* and *rendered* views.
0 commit comments