forked from JeffersonLab/HPS-NOTES
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HOWTO
27 lines (17 loc) · 929 Bytes
/
HOWTO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
https://github.com/JeffersonLab/HPS-NOTES
While this repository is publicly readable, to modify it you must be a member of the HPS "team".
To become a member, request it by emailing me your github username.
Using ssh-keys with github:
0 If you don't already have one, generate an ssh-key: `ssh-keygen -t rsa`
1 Copy the key (e.g. on osx `pbcopy < ~/.ssh/id_rsa.pub`)
2 On github in web browser under "Account Settings"/"SSH keys" make a new key and paste it
3 To test that it worked: `ssh -T [email protected]`
Clone from scratch the HPS-NOTES repository, i.e. checkout to your local machine:
git clone [email protected]:JeffersonLab/HPS-NOTES
The following must be done inside HPS-NOTES directory:
Commit local changes from your local version to the repository:
git add Path/To/UpdatedFileOrDir
git commit -m 'descriptive comment'
git push
Update your local version to reflect the current status of the repository:
git pull