Skip to content
Atom package for opening files on GitHub.com
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
keymaps Add open pull requests command Nov 2, 2017
lib move getActivePath to separate file Aug 20, 2019
menus
spec
.gitignore Convert specs to JS via decaffeinate Oct 19, 2016
.travis.yml Use public release for CI Mar 18, 2016
CONTRIBUTING.md Update contributing file May 22, 2014
ISSUE_TEMPLATE.md Update issue and PR templates Dec 22, 2016
LICENSE.md Update LICENSE.md and CONTRIBUTING.md Feb 23, 2014
PULL_REQUEST_TEMPLATE.md 📝 Update issue and PR templates Dec 26, 2016
README.md
appveyor.yml
package-lock.json
package.json Prepare v1.3.2 release Nov 1, 2019

README.md

Open on GitHub package

OS X Build Status Windows Build Status Dependency Status

Provides commands to quickly view the current file on GitHub.com (The Website).

Usage

When editing a file in Atom, use the command palette or keyboard shortcuts to:

  • Open the file on github.com alt-g, o
  • Open the blame view for the file on github.com alt-g, b
  • Open the history view for the file on github.com alt-g, h
  • Open the issues view for the repository the file belongs to on github.com alt-g, i
  • Open the pull requests view for the repository the file belongs to on github.com alt-g, p
  • Open the compare page for the current branch on github.com alt-g, r
  • Copy the github.com URL for the currently selected lines alt-g, c

Command Palette

Remote URL detection

The GitHub repository URL is guessed from the current branch and Git remote information. To override the defaults, you can use git config to set the remote and branch name:

git config atom.open-on-github.remote upstream
git config atom.open-on-github.branch some-branch

Inspired by the GitHub Tools package for Sublime Text 2.

You can’t perform that action at this time.