8000 More tips on GitHub search · lisongyu/github-cheat-sheet@f67e9b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit f67e9b5

Browse files
committed
More tips on GitHub search
1 parent 7e5df88 commit f67e9b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,16 @@ When on a repository page, keyboard shortcuts allow you to navigate easily.
217217

218218
- Pressing `t` will bring up a file explorer.
219219
- Pressing `w` will bring up the branch selector.
220-
- Pressing `s` will focus the search field.
220+
- 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.
221221
- Pressing `l` will edit labels on existing Issues.
222222
- 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.
223223

224224
To see all of the shortcuts for the current page press `?`:
225225

226226
![Keyboard shortcuts](http://i.imgur.com/y5ZfNEm.png)
227227

228+
[Read more about search syntax you can use.](https://help.github.com/articles/search-syntax/)
229+
228230
### Line Highlighting in Repositories
229231
Either adding `#L52` to the end of a code file URL or simply clicking the line number will highlight that line number.
230232

0 commit comments

Comments
 (0)
0