mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-10 18:04:10 +02:00
Add example for tab space trick
This commit is contained in:
@@ -65,6 +65,14 @@ Adding `?w=1` to any diff URL will remove any changes only in whitespace, enabli
|
||||
### 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.
|
||||
|
||||
Here is a Go source file beofre adding `?ts=4`:
|
||||
|
||||

|
||||
|
||||
...and this is after adding `?ts=4`:
|
||||
|
||||

|
||||
|
||||
### Commit History by Author
|
||||
To view all commits on a repo by author add `?author=username` to the URL.
|
||||
|
||||
|
Reference in New Issue
Block a user