-
Notifications
You must be signed in to change notification settings - Fork 0
/
how_to_use_github_for_wvcci.txt
28 lines (25 loc) · 1.13 KB
/
how_to_use_github_for_wvcci.txt
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
28
HOW TO USE GITHUB FOR WV_cci
only once:
1. copy the key pair id_rsa and id_rsa.pub from F:\olafd\.ssh to ~/.ssh on lotus
2. chmod 600 id_rsa
3. Test: type 'ssh -T [email protected]' --> you get 'Hi, dolaf! You've successfully...'
always when you want to update or commit/push:
4. cd workspace/git/wv-cci-toolbox/
5. 'git status' : make sure you are on branch master
6. update: 'git pull -a'
7. git add .
8. git commit -a -m "my commit message"
9. git push origin master
10. if the push fails, do first: 'git remote set-url origin [email protected]:bcdev/wv-cci-toolbox.git'
- commit/push wvcci-inst scripts:
1. cd workspace/git/wv-cci-toolbox
2. git pull -a
3. cp -p $WVCCI_INST/*.py src/main/bin/cems_shared/wvcci-inst
4. cp -p $WVCCI_INST/my* src/main/bin/cems_shared/wvcci-inst
5. cp -p $WVCCI_INST/*.bash src/main/bin/cems_shared/wvcci-inst
6. cp -p $WVCCI_INST/*.txt src/main/bin/cems_shared/wvcci-inst
7. cp -p $WVCCI_INST/src/*.py src/main/bin/cems_shared/wvcci-inst/src
8. cp -p $WVCCI_INST/bin/*sh src/main/bin/cems_shared/wvcci-inst/bin
9. git add src/main/bin/cems_shared/wvcci-inst
10. git commit -m "updated JASMIN WVCCI_INST scripts"
11. git push