The Atom GitHub package provides Git and GitHub integration for Atom.
NOTE: This package requires that you're on Atom v1.13.0 or above
You may install the GitHub package via the Atom GUI or via the command line.
Settings View
In settings view, click "Install," enter atom/github
in the search field, and press enter. In the installation card that appears, click "Install."
Command Line
Run apm install atom/github
.
The default keyboard shortcuts are:
ctrl-9
👉 Show/hide the Git panelctrl-shift-9
👉 Toggle Git panel focus
From within the Git panel:
enter
👉 Stage/unstage the currently selected filecmd/ctrl-enter
👉 Commit (or move to the commit box)tab
👉 Focus the next list/commit boxshift-tab
👉 Focus the previous list
From within a diff view:
/
👉 Toggle between selection of hunks and linestab
👉 Move to the next hunkshift-tab
👉 Move to the previous hunkenter
👉 Stage/unstage the currently selected hunk or line
Please feel free to post your comments, feedback, and issues in the GitHub repository.
This package is currently 🚧 under heavy development. 🚧 The following checked features are done, while others are in the works or are planned for the future:
Git
- Stage files/hunks/lines
- Unstage files/hunks/lines
- Discard changed files/hunks/lines
- Create commits
- Amend last commit
- Sign commits
- Change branches
- Create new branches
- Push/pull/fetch
- Abort merges
- Resolve merge conflicts via special UI
GitHub
- Show current PR details
- Open a new PR
- Show PR comments inline in the editor
- Edit PRs
- Create/edit PR comments
- Perform GitHub.com code reviews from within Atom
- Merge/close PRs