Skip to content
Snippets Groups Projects
Commit 6752735e authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'minor-changes' into 'develop'

Minor changes to git training slides

See merge request R3/outreach/presentations!9
parents e105e346 d0ffc255
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ Exit by typing `q`. The branch with the * is the current branch.
Checkout another branch
```bash
$ git checkout branchName
$ git checkout <branchName>
```
<div class="fragment">
......@@ -62,6 +62,7 @@ You can switch to the `develop` branch with
```bash
$ git checkout develop
```
If the local branch does not exist but the remote does, it is created automatically.
<div class="fragment">
......
......@@ -54,13 +54,6 @@ $ git status
# uncommitted changes (displayed in red)
```
<div class="fragment">
**ADVANCED**: see your changes in the terminal
```bash
$ git diff
```
exit with `q`
<div class="fragment">
......@@ -71,6 +64,14 @@ $ git status
# returns the same as before, generally in green (means staged)
```
<div class="fragment">
**ADVANCED**: If there have been more changes after the file has been added, you can see your changes in the terminal
```bash
$ git diff
```
exit with `q`
## Add a commit message
......
......@@ -5,4 +5,6 @@ Recommended editors:
- **Visual Studio Code** (https://code.visualstudio.com)
- **Atom** (https://atom.io)
*Note*: Other editors such as IntelliJ IDEA (https://www.jetbrains.com/idea) or Sublime Text (https://www.sublimetext.com) can, of course, also be used.
<img src="slides/img/icon-live-demo.png" height="100px">
\ No newline at end of file
......@@ -6,7 +6,7 @@
## The terminal (shell)
**UNIX users (macOS & Linux):**
**macOS users:**
Start the Terminal from your `/Applications` directoy.
......
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