Skip to content

Create atom.asc #1144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions book/A-git-in-other-environments/sections/atom.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
=== Git in Atom

(((Atom)))
Atom ships with a built-in package called GitHub, which provides a fairly-complete interface to Git operations and a deep integration with the website GitHub.
There are different ways to access the package, probably the most common way is through the keybinding:

Open the Git panel: `Ctrl+9`

Another way is from the menu: `Packages -> GitHub -> Toggle Git Tab`

GitHub comes with plenty of documentation when it comes to the integration with a remote repository on GitHub, which you can find within atom "Flight Manual".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rationale for change:

  • Atom is a noun and so needs to be capitalized.
  • Also we need a 's to indicate possession. Whose flight manual is it? It is Atom's Flight Manual.

Suggested situation after implementing changes:

GitHub comes with plenty of documentation when it comes to the integration with a remote repository on GitHub, which you can find within Atom's "Flight Manual".

But the GitHub package can also integrate with any remote repository.

=== Clone repositories

To clone a repository, access the command palette by typing `Ctrl + Alt + P` and then run the `GitHub: Clone` command.
In the dialog paste a URL of a repository and click "Clone". A new project will get added to the Tree View.
The URL to the remote repository for SSH connection should be of the form:

ssh://[email protected]:portNB/path/project.git

For this operation to succeed, make sure that your git and your ssh are properly configured.
Git is configured from a file called `.gitconfig` which must be located in your user directory (`%USERPROFILE%` on windows, run `git config` on Linux environments). Similarly SSH must be configured in a file `/.ssh/config` also located within your user directory on windows environement.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rationale for change:

  • The word "Windows" is a noun, it refers to a specific thing, so it needs to be capitalized.
  • The spelling for the word environement is wrong, it is: environment.

Suggested situation after implementing changes:

For this operation to succeed, make sure that your git and your ssh are properly configured.
Git is configured from a file called .gitconfig which must be located in your user directory (%USERPROFILE% on Windows, run git config on Linux environments). Similarly SSH must be configured in a file /.ssh/config also located within your user directory on Windows environment.