confused_techie f74da92be1 Merge branch 'master' into renovate/npm-underscore-vulnerability 1 year ago
..
keymaps 1a38c83cb5 Bundle `open-on-github` 1 year ago
lib 1a38c83cb5 Bundle `open-on-github` 1 year ago
menus 1a38c83cb5 Bundle `open-on-github` 1 year ago
spec 1a38c83cb5 Bundle `open-on-github` 1 year ago
README.md 1a38c83cb5 Bundle `open-on-github` 1 year ago
package-lock.json f74da92be1 Merge branch 'master' into renovate/npm-underscore-vulnerability 1 year ago
package.json 1a38c83cb5 Bundle `open-on-github` 1 year ago

README.md

Open on GitHub package

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

Usage

When editing a file in Pulsar, 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.