Shortcut

GitHub Edit a File Shortcut

The GitHub shortcut to edit a file is E on Windows. It's the same on Mac.

Quick Answer

Windows
E
Mac
E
Web
Not confirmed yet
GitHubShortcut

Edit a File

Windows
E

Opens the selected source file in the Edit file tab.

Learn More

How to edit a file in GitHub

  1. Open GitHub and go to where you want to edit a file.
  2. Press E on Windows or E on Mac.

GitHub Edit a File Shortcut for Windows

Press E.

GitHub Edit a File Shortcut for Mac

Press E.

GitHub Edit a File Shortcut for GitHub Web

We haven't confirmed a GitHub Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the GitHub edit a file shortcut?

On Windows, press E. On a Mac, press E.

Is there a Mac shortcut to edit a file in GitHub?

Yes: E.

Does it work in GitHub for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify