mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-13 19:34:00 +02:00
Update links/images
This commit is contained in:
@@ -77,11 +77,11 @@ Adding `?w=1` to any diff URL will remove any changes only in whitespace, enabli
|
|||||||
### Adjust Tab Space
|
### Adjust Tab Space
|
||||||
Adding `?ts=4` to a diff or file URL will display tab characters as 4 spaces wide instead of the default 8. The number after `ts` can be adjusted to suit your preference. This does not work on Gists, or raw file views, but a [Chrome extension](https://chrome.google.com/webstore/detail/github-tab-size/ofjbgncegkdemndciafljngjbdpfmbkn) can automate this.
|
Adding `?ts=4` to a diff or file URL will display tab characters as 4 spaces wide instead of the default 8. The number after `ts` can be adjusted to suit your preference. This does not work on Gists, or raw file views, but a [Chrome extension](https://chrome.google.com/webstore/detail/github-tab-size/ofjbgncegkdemndciafljngjbdpfmbkn) can automate this.
|
||||||
|
|
||||||
Here is a Go source file [before](https://github.com/pengwynn/flint/blob/master/flint/flint.go) adding `?ts=4`:
|
Here is a Go source file before adding `?ts=4`:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
...and this is [after](https://github.com/pengwynn/flint/blob/master/flint/flint.go?ts=4) adding `?ts=4`:
|
...and this is after adding `?ts=4`:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ To view all commits on a repo by author add `?author=username` to the URL.
|
|||||||
https://github.com/rails/rails/commits/master?author=dhh
|
https://github.com/rails/rails/commits/master?author=dhh
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
[*Read more about the differences between commits views.*](https://help.github.com/articles/differences-between-commit-views)
|
[*Read more about the differences between commits views.*](https://help.github.com/articles/differences-between-commit-views)
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@ For example:
|
|||||||
https://github.com/rails/rails/compare/master...4-1-stable
|
https://github.com/rails/rails/compare/master...4-1-stable
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
`{range}` can be changed to things like:
|
`{range}` can be changed to things like:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user