mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-10 09:54:08 +02:00
More tips on GitHub search
This commit is contained in:
@@ -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 `?`:
|
||||
|
||||

|
||||
|
||||
[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.
|
||||
|
||||
|
Reference in New Issue
Block a user