-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,69 @@ | ||
# psb6351_mattfeld | ||
# psb6351_mattfeld | ||
|
||
## Welcome to the PSB6351 class repository | ||
|
||
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 | ||
|
||
1. [Set up](https://help.github.com/articles/set-up-git/) git on HPC | ||
|
||
Perform steps 2-4 in Setting up git. | ||
|
||
2. Set up your ssh [key](https://help.github.com/articles/connecting-to-github-with-ssh/) | ||
|
||
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 | ||
|
||
3. Modify your ~/.ssh/config file | ||
|
||
```bash | ||
ssh -T -p 443 [email protected] | ||
``` | ||
|
||
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 | ||
```bash | ||
vi ~/.ssh/config | ||
``` | ||
Host github.com | ||
Hostname ssh.github.com | ||
Port 443 | ||
4. Fork the psb6351_env repository | ||
In a terminal type | ||
```bash | ||
cd place/to/keep/repository | ||
git clone ssh://[email protected]/PSB6351/psb6351_env.git | ||
cd psb6351_env | ||
git remote add upstream ssh://[email protected]/PSB6351/psb6351_env.git | ||
``` | ||
5. 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://[email protected]/PSB6351/psb6351_env.git | ||