To put a Git and a GitHub in some atoms.
Install via Atom's settings view (v1.7 or higher):
- Diffs
- Staging
- Committing
cmd-shift-c
Opens git changes panel
right
on a file focuses hunk- select hunks with
up
ordown
enter
to stage hunk/
to toggle line selection modeshift-up
orshift-down
to expand line selectiona
to select linesenter
to stage selected linesbackspace
while on a changed file (not the diff) will prompt to discard changeso
on a changed file or hunk/line will open that file in a tab
Sign in via the link in your status bar (it should open your browser and ask you to authenticate).
- Some organizations (e.g. @github) may limit access from oauth apps that have yet to whitelist, and the status and PR information will not be available for repos in those organizations.
- The package assumes the remote you would like to pull/push to is named
origin
- Sign in to GitHub by clicking a link in the status bar or the
github:sign-in
command - Show current pull request for branch
- Create a new pull request for a branch
- Show build status for current branch
See the manifest to learn about the various states the app can have in tedious detail.
- Read-only inline PR comments
- A panel showing more information about existing PRs
- A panel allowing in-app PR creation.
Here's a few wireframes of the MVP we might ship: https://github.com/atom/design/issues/43
Read more about the current plans for getting to that MVP here: https://github.com/atom/design/issues/44
Here's a discussion on the long-term vision for Git & GitHub integration: https://github.com/atom/design/issues/39
git clone [email protected]:atom/github.git
cd github
apm install
apm link -d
atom .
cd ../some-dir-with-a-git-repo
atom -d
npm run lint
— Lint the codes.npm run check
— Type check the codes.npm run start
— Start Flow in the background. This will let it parse and typecheck incrementally which is much faster for local development.npm run stop
— Stop Flow.
We're using Flow to add T Y P E S.