VOOZH about

URL: https://docs.github.com/en/enterprise-server@2.21/get-started/using-github/keyboard-shortcuts

⇱ Keyboard shortcuts - GitHub Docs


GitHub Docs

This version of GitHub Enterprise was discontinued on 2021-06-09. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Keyboard shortcuts

Nearly every page on GitHub Enterprise Server has a keyboard shortcut to perform actions faster.

About keyboard shortcuts

Typing in GitHub Enterprise Server brings up a dialog box that lists the keyboard shortcuts available for that page. You can use these keyboard shortcuts to perform actions across the site without using your mouse to navigate.

Below is a list of some of the available keyboard shortcuts.

Site wide shortcuts

Keyboard shortcutDescription
or Focus the search bar. For more information, see "About searching on GitHub."
Go to your notifications. For more information, see "About notifications."
When focused on a user, issue, or pull request hovercard, closes the hovercard and refocuses on the element the hovercard is in

Repositories

Keyboard shortcutDescription
Go to the Code tab
Go to the Issues tab. For more information, see "About issues."
Go to the Pull requests tab. For more information, see "About pull requests."
Go to the Projects tab. For more information, see "About project boards."
Go to the Wiki tab. For more information, see "About wikis."

Source code editing

Keyboard shortcutDescription
or Inserts Markdown formatting for bolding text
or Inserts Markdown formatting for italicizing text
or Inserts Markdown formatting for creating a link
Open source code file in the Edit file tab
or Start searching in file editor
or Find next
or Find previous
or Replace
or Replace all
Jump to line
or Undo
or Redo
Toggles between the Edit file and Preview changes tabs
or Write a commit message

For more keyboard shortcuts, see the CodeMirror documentation.

Source code browsing

Keyboard shortcutDescription
Activates the file finder
Jump to a line in your code
Switch to a new branch or tag
Expand a URL to its canonical form. For more information, see "Getting permanent links to files."
Show or hide comments on diffs. For more information, see "Commenting on the diff of a pull request."
Show or hide annotations on diffs
Open blame view. For more information, see "Tracing changes in a file."

Comments

Keyboard shortcutDescription
or Inserts Markdown formatting for bolding text
or Inserts Markdown formatting for italicizing text
or Inserts Markdown formatting for creating a link
or Toggles between the Write and Preview comment tabs
Submits a comment
and then Opens saved replies menu and then autofills comment field with a saved reply. For more information, see "About saved replies."
Quote the selected text in your reply. For more information, see "Basic writing and formatting syntax."

Issue and pull request lists

Keyboard shortcutDescription
Create an issue
or Focus your cursor on the issues or pull requests search bar. For more information, see "Using search to filter issues and pull requests."
Filter by author
Filter by or edit labels. For more information, see "Filtering issues and pull requests by labels."
and clickWhile filtering by labels, exclude labels. For more information, see "Filtering issues and pull requests by labels."
Filter by or edit milestones. For more information, see "Filtering issues and pull requests by milestone."
Filter by or edit assignee. For more information, see "Filtering issues and pull requests by assignees."
or Open issue

Issues and pull requests

Keyboard shortcutDescription
Request a reviewer. For more information, see "Requesting a pull request review."
Set a milestone. For more information, see "Associating milestones with issues and pull requests."
Apply a label. For more information, see "Applying labels to issues and pull requests."
Set an assignee. For more information, see "Assigning issues and pull requests to other GitHub users."
or Toggles between the Write and Preview tabs

Changes in pull requests

Keyboard shortcutDescription
Open the list of commits in the pull request
Open the list of changed files in the pull request
Move selection down in the list
Move selection up in the list
Add a single comment on a pull request diff
and clickToggle between collapsing and expanding all outdated review comments in a pull request by holding down alt and clicking Show outdated or Hide outdated.
Click, then and clickComment on multiple lines of a pull request by clicking a line number, holding , then clicking another line number. For more information, see "Commenting on a pull request."

Project boards

Moving a column

Keyboard shortcutDescription
or Start moving the focused column
Cancel the move in progress
Complete the move in progress
or Move column to the left
or or or Move column to the leftmost position
or Move column to the right
or or or Move column to the rightmost position

Moving a card

Keyboard shortcutDescription
or Start moving the focused card
Cancel the move in progress
Complete the move in progress
or Move card down
or or or Move card to the bottom of the column
or Move card up
or or or Move card to the top of the column
or Move card to the bottom of the column on the left
or Move card to the top of the column on the left
or or or Move card to the bottom of the leftmost column
or or or Move card to the top of the leftmost column
Move card to the bottom of the column on the right
or Move card to the top of the column on the right
or or or Move card to the bottom of the rightmost column
or or or Move card to the bottom of the rightmost column

Previewing a card

Keyboard shortcutDescription
Close the card preview pane

Notifications

Keyboard shortcutDescription
Mark as done
Mark as unread
Mark as read
Unsubscribe

Network graph

Keyboard shortcutDescription
or Scroll left
or Scroll right
or Scroll up
or Scroll down
or Scroll all the way left
or Scroll all the way right
or Scroll all the way up
or Scroll all the way down