-
Notifications
You must be signed in to change notification settings - Fork 11
xxx MOVE Git Setup for First Time GitHub GEOS ESM Users
Developers who are going to make code changes in GEOSldas need a GitHub account.
Basic steps for creating an account can be found at https://github.com. After putting in username, email and password, the developer GitHub account will be created. We recommend that NASA developers use their NASA email and AUDID as their username, but this is not required. Add nessesary information to the .gitconfig on a machine platform you are using. To test is your setup right:
git config –-list
should print out your username and email.
Next step is to add your SSH keys to your GitHub account. To do that go to https://github.com/settings/keys and enter your public SSH keys from the platforms you will be working from. Copy information for public ssh key from your machine ( ~/.ssh/id_rsa.pub ), this information is generated by $ ssh-keygen, add it to GitHub SSH key box (settings/SSH and GPG keys). Now information flow between your computer and GitHub should be established. When pushing changes back to a GitHub repository that was cloned via the “https” command, developers need to provide their username and password. By setting up the credentials, they don’t need to enter their username/password when cloning the code.