Skip to content
Snippets Groups Projects

clearify in notes what is interactive/demo

Merged Dirk Sarpe requested to merge wip/cli-demo into master
1 file
+ 26
0
Compare changes
  • Side-by-side
  • Inline
+ 26
0
@@ -410,6 +410,16 @@
@@ -410,6 +410,16 @@
nano file # edit file (Linux / Mac)
nano file # edit file (Linux / Mac)
notepad file # edit file (Windows)
notepad file # edit file (Windows)
```
```
 
 
notes:
 
- go through commands then everyone open terminal
 
- create a directory
 
- create README
 
- rename directory
 
- copy README to README.md
 
- use autocompletion with tab
 
- use bash history with cursor and ctrl+r
 
- explain `.` and `..`
</section>
</section>
<section id="cli-git" data-markdown>
<section id="cli-git" data-markdown>
@@ -486,6 +496,7 @@
@@ -486,6 +496,7 @@
notes:
notes:
- add **break** here if needed
- add **break** here if needed
 
- this section has demo and interactive part
</section>
</section>
<section id="cli-create-repository" data-markdown>
<section id="cli-create-repository" data-markdown>
@@ -503,6 +514,7 @@
@@ -503,6 +514,7 @@
```
```
notes:
notes:
 
- this is an explanation slide
- for this tutorial we are creating a new repository
- for this tutorial we are creating a new repository
- at home you can `init` your existing projects *without* version
- at home you can `init` your existing projects *without* version
control
control
@@ -516,6 +528,8 @@
@@ -516,6 +528,8 @@
1. write a short `README` file
1. write a short `README` file
notes:
notes:
 
- mention cheat sheet
 
- switch to terminal after a while and demo solution
```bash
```bash
mkdir ~/projects
mkdir ~/projects
git init hello
git init hello
@@ -577,6 +591,7 @@
@@ -577,6 +591,7 @@
```
```
notes:
notes:
 
- users should do this in a terminal with demo by us
- git stage git add are the same thing
- git stage git add are the same thing
- prefer stage and unstage because the opposite of add is remove
- prefer stage and unstage because the opposite of add is remove
and that does something entirely different
and that does something entirely different
@@ -594,6 +609,10 @@
@@ -594,6 +609,10 @@
# from last commit to staging area
# from last commit to staging area
git diff --staged
git diff --staged
```
```
 
 
notes:
 
- users should do this in a terminal with demo by us
 
- make a round and check
</section>
</section>
<section id="cli-git-commit" data-markdown>
<section id="cli-git-commit" data-markdown>
@@ -607,6 +626,9 @@
@@ -607,6 +626,9 @@
# commits with a short message
# commits with a short message
git commit -m 'initial commit'
git commit -m 'initial commit'
```
```
 
 
notes:
 
- users execute commit after next two explanation slides
</section>
</section>
<section id="commit-messages-xkcd" data-markdown>
<section id="commit-messages-xkcd" data-markdown>
@@ -658,6 +680,9 @@
@@ -658,6 +680,9 @@
# - one per line
# - one per line
git lol
git lol
```
```
 
 
notes:
 
- make a round and check
</section>
</section>
<section id="summary-1" data-markdown>
<section id="summary-1" data-markdown>
@@ -686,6 +711,7 @@
@@ -686,6 +711,7 @@
## aka legal shit
## aka legal shit
notes:
notes:
 
- non interactive section
- add **break** here if needed
- add **break** here if needed
- unfortunately, we have to talk about this
- unfortunately, we have to talk about this
- go back to initial commit
- go back to initial commit
Loading