gettingStarted.md 457 Bytes
Newer Older
1
# Getting Started
Daniel Duarte's avatar
Daniel Duarte committed
2

Daniel Duarte's avatar
Daniel Duarte committed
3
Fork and clone the tutorial repository
Daniel Duarte's avatar
Daniel Duarte committed
4
```bash
Daniel Duarte's avatar
Daniel Duarte committed
5
$ git clone ssh://git@git-r3lab-server.uni.lu:8022/<yourName>/presentations-internal.git
Daniel Duarte's avatar
Daniel Duarte committed
6
```
Daniel Duarte's avatar
Daniel Duarte committed
7
8
Add a remote upstream
```bash
Daniel Duarte's avatar
Daniel Duarte committed
9
$ git remote add upstream ssh://git@git-r3lab-server.uni.lu:8022/R3/school/advanced-git/presentations-internal.git
Daniel Duarte's avatar
Daniel Duarte committed
10
```
Daniel Duarte's avatar
Daniel Duarte committed
11
Go to the develop branch
Daniel Duarte's avatar
Daniel Duarte committed
12
```bash
Daniel Duarte's avatar
Daniel Duarte committed
13
$ git checkout develop
Daniel Duarte's avatar
Daniel Duarte committed
14
```
Daniel Duarte's avatar
Daniel Duarte committed
15
And create your own branch using the `-b` flag
Daniel Duarte's avatar
Daniel Duarte committed
16
```bash
Daniel Duarte's avatar
Daniel Duarte committed
17
$ git checkout -b myNameBranch
Daniel Duarte's avatar
Daniel Duarte committed
18
```