Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

On Windows, I installed the git-plus package in Atom by installing it from Atom main menu FileSettingsInstall. Using git config, I then configured user.email and user.name and made sure that they reflect my account and email address in Github.

I then followed the instructions, from the GitHub site, I generated new pair of ssh keys. I made sure that there is only one pair of keys on my system. Now with git-plus and the ssh keys configured, how do I go about start working on files on my Github repository?

like image 256
yingzhao Avatar asked Oct 30 '22 05:10

yingzhao


1 Answers

I tried the steps below and it seems to be working fine.

  • Clone your GitHub repository using SSH, such as, git clone @github.com:.git Note, if you perform clone from Git Bash for the first time, host, github.com, will be added into file, KNOWN_HOST, which on Windows, it is in .ssh The command creates a local copy of original/master from your GitHub
  • Add the local copy of your repository to Atom. From Atom menu, File > Add Project Folder…
  • Verify that you can work with your GitHub repository, e.g., performing pull. In Atom, open Git command line, Ctrl+Shift+H, and type in pull, then from the available branch list choose > original/master
like image 150
yingzhao Avatar answered Nov 15 '22 07:11

yingzhao