README.md 557 Bytes
Newer Older
contigiani's avatar
contigiani committed
1
**Command line instructions**
contigiani's avatar
contigiani committed
2

contigiani's avatar
contigiani committed
3
4
Git global setup
```
contigiani's avatar
contigiani committed
5
6
git config --global user.name "contigiani"
git config --global user.email "contigiani@strw.leidenuniv.nl"
contigiani's avatar
contigiani committed
7
```
contigiani's avatar
contigiani committed
8
9

Create a new repository
contigiani's avatar
contigiani committed
10
```
reina's avatar
reina committed
11
git clone http://gitlab.strw.leidenuniv.nl/Reina-VanSon-Vaher/CAP.git
contigiani's avatar
contigiani committed
12
13
14
15
16
cd CAP
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
contigiani's avatar
contigiani committed
17
```
contigiani's avatar
contigiani committed
18
19

Existing folder or Git repository
contigiani's avatar
contigiani committed
20
```
contigiani's avatar
contigiani committed
21
22
23
24
25
26
cd existing_folder
git init
git remote add origin http://gitlab.strw.leidenuniv.nl/Reina-Contigiani/CAP.git
git add .
git commit
git push -u origin master
contigiani's avatar
contigiani committed
27
```