Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git-seminar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Scientific Computing
education
git-seminar
Commits
56d70506
Commit
56d70506
authored
5 years ago
by
Dirk Sarpe
Browse files
Options
Downloads
Patches
Plain Diff
clearify in notes what is interactive/demo
parent
41f4a0dd
No related branches found
No related tags found
1 merge request
!4
clearify in notes what is interactive/demo
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
basics.html
+26
-0
26 additions, 0 deletions
basics.html
with
26 additions
and
0 deletions
basics.html
+
26
−
0
View file @
56d70506
...
...
@@ -410,6 +410,16 @@
nano file # edit file (Linux / Mac)
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
id=
"cli-git"
data-markdown
>
...
...
@@ -486,6 +496,7 @@
notes:
- add **break** here if needed
- this section has demo and interactive part
</section>
<section
id=
"cli-create-repository"
data-markdown
>
...
...
@@ -503,6 +514,7 @@
```
notes:
- this is an explanation slide
- for this tutorial we are creating a new repository
- at home you can `init` your existing projects *without* version
control
...
...
@@ -516,6 +528,8 @@
1. write a short `README` file
notes:
- mention cheat sheet
- switch to terminal after a while and demo solution
```bash
mkdir ~/projects
git init hello
...
...
@@ -577,6 +591,7 @@
```
notes:
- users should do this in a terminal with demo by us
- git stage git add are the same thing
- prefer stage and unstage because the opposite of add is remove
and that does something entirely different
...
...
@@ -594,6 +609,10 @@
# from last commit to staging area
git diff --staged
```
notes:
- users should do this in a terminal with demo by us
- make a round and check
</section>
<section
id=
"cli-git-commit"
data-markdown
>
...
...
@@ -607,6 +626,9 @@
# commits with a short message
git commit -m 'initial commit'
```
notes:
- users execute commit after next two explanation slides
</section>
<section
id=
"commit-messages-xkcd"
data-markdown
>
...
...
@@ -658,6 +680,9 @@
# - one per line
git lol
```
notes:
- make a round and check
</section>
<section
id=
"summary-1"
data-markdown
>
...
...
@@ -686,6 +711,7 @@
## aka legal shit
notes:
- non interactive section
- add **break** here if needed
- unfortunately, we have to talk about this
- go back to initial commit
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment