We will use this repo to share code, submit homework assignments, and setup your environments
To begin you will need to setup git on your High Performance Computer (HPC) account
-
Set up git on HPC
Perform steps 2-4 in Setting up git.
-
Set up your ssh key
Make your passkey easy to remember. First Generate a new SSH key - Follow steps 1-4
Next add your ssh key to your github account - Follow steps 1-8
Next test your SSH connection - Follow steps 1-5
-
Modify your ~/.ssh/config file
ssh -T -p 443 git@ssh.github.com
You should see:
Hi username! You've successfully authenticated, but GitHub does not provide shell access.
Add the following lines to your ~/.ssh/config file
vi ~/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
-
Fork the psb6351_env repository
In a terminal type
cd place/to/keep/repository git clone ssh://git@github.com/PSB6351/psb6351_env.git cd psb6351_env git remote add upstream ssh://git@github.com/PSB6351/psb6351_env.git
-
Chane repo configuration to ssh
Open .git/config
find url= entry under section [remote "origin"]
Change it from
url=https://github.com/PSB6351/psb6351_env.git
to
ssh://git@github.com/PSB6351/psb6351_env.git