Skip to content
Snippets Groups Projects
Commit 6068c3ba authored by Daniel Duarte's avatar Daniel Duarte
Browse files

add $ to commands

parent a4f1a0b9
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
Fork and clone the tutorial repository Fork and clone the tutorial repository
```bash ```bash
git clone ssh://git@git-r3lab-server.uni.lu:8022/R3-core/outreach/presentations-internal.git $ git clone ssh://git@git-r3lab-server.uni.lu:8022/R3-core/outreach/presentations-internal.git
``` ```
Create a new branch off of develop and name it myNameBranch Create a new branch off of develop and name it myNameBranch
```bash ```bash
git checkout develop $ git checkout develop
``` ```
```bash ```bash
git checkout -b myNameBranch $ git checkout -b myNameBranch
``` ```
\ No newline at end of file
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
```bash ```bash
$ echo "Name of one attendee" > attendeeName.md $ echo "Name of one attendee" > attendeeName.md
git add attendeeName.md $ git add attendeeName.md
git commit -m "Add first name to the list of attendees" $ git commit -m "Add first name to the list of attendees"
git push origin yourBranch $ git push origin yourBranch
$ echo "Name of a second attendee" > attendeeName2.md $ echo "Name of a second attendee" > attendeeName2.md
git add attendeeName2.md $ git add attendeeName2.md
git commit -m "Add second name to the list of attendees" $ git commit -m "Add second name to the list of attendees"
git push origin yourBranch $ git push origin yourBranch
``` ```
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Perform an interactive rebase with the two last commits: * Perform an interactive rebase with the two last commits:
```bash ```bash
git rebase -i HEAD~2 $ git rebase -i HEAD~2
``` ```
* reword the first commit's message to: * reword the first commit's message to:
......
...@@ -3,19 +3,19 @@ ...@@ -3,19 +3,19 @@
The prompt shows up: The prompt shows up:
```bash ```bash
pick xxxxxxx add first name to attendee list $ pick 93fshjw add first name to attendee list
pick yyyyyyy add second name to attendee list $ pick 47fh35f add second name to attendee list
``` ```
The keywords should be changed to: The keywords should be changed to:
```bash ```bash
reword xxxxxxx add first name to attendee list $ reword 93fshjw add first name to attendee list
fixup yyyyyyy add second name to attendee list $ fixup 47fh35f add second name to attendee list
``` ```
Upon confirming, change the message of commit xxxxxxx: Upon confirming, change the message of commit xxxxxxx:
```bash ```bash
Add Name1 and Name2 to the attendee list $ Add Name1 and Name2 to the attendee list
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment