How to configure Git-plus in Atom to work with Github

On Windows, I installed git-plus package in Atom by installing it from the Atom File โ†’ Settings โ†’ Install main menu. Using git config , I then set up user.email and user.name and made sure that they reflect my account and email address on Github.

Then I followed the instructions from the GitHub website , I created a new pair of ssh keys. I made sure that there is only one key pair in my system. Now with git-plus and ssh settings, how do I get started on files in my Github repository?

+5
source share
1 answer

I tried the following steps and it seems to work fine.

  • Clone the GitHub repository using SSH, for example, git clone @ github.com: .git Note that if you are executing a clone from Git Bash for the first time, the host, github.com, will be added to the KNOWN_HOST file, which on Windows, it located in .ssh The command creates a local copy of the original / master from your GitHub
  • Add a local copy of your repository to Atom. From the Atom menu, choose File> Add Project Folder.
  • Make sure you can work with the GitHub repository, for example, pull. In Atom, open the Git command line, Ctrl + Shift + H and enter pull, then from the list of available branches select> original / master
+2
source

Source: https://habr.com/ru/post/1247215/


All Articles