1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-10 01:46:37 +02:00

More tips on GitHub search

This commit is contained in:
Mislav Marohnić
2015-01-26 16:07:24 -08:00
parent 7e5df885da
commit f67e9b5e97

View File

@@ -217,7 +217,7 @@ When on a repository page, keyboard shortcuts allow you to navigate easily.
- Pressing `t` will bring up a file explorer.
- Pressing `w` will bring up the branch selector.
- Pressing `s` will focus the search field.
- 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.
- Pressing `l` will edit labels on existing Issues.
- 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.
@@ -225,6 +225,8 @@ To see all of the shortcuts for the current page press `?`:
![Keyboard shortcuts](http://i.imgur.com/y5ZfNEm.png)
[Read more about search syntax you can use.](https://help.github.com/articles/search-syntax/)
### Line Highlighting in Repositories
Either adding `#L52` to the end of a code file URL or simply clicking the line number will highlight that line number.