Skip to content

Commit 3738ea6

Browse files
authored
Merge pull request #222 from NETWAYS/chore/handout-fixes
Update some sizing to fix PDF handout
2 parents fad0820 + cd3657b commit 3738ea6

File tree

5 files changed

+22
-48
lines changed

5 files changed

+22
-48
lines changed

day1/01_Introduction/01_Intro.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ systems which store the file revisions in a database.
2727
2828
~~~ENDSECTION~~~
2929
30-
!SLIDE
30+
!SLIDE noprint
3131
# Centralized and Distributed VCS
3232
3333
* Central VCS
@@ -46,6 +46,21 @@ systems which store the file revisions in a database.
4646
</tbody>
4747
</table>
4848
49+
!SLIDE smbullets printonly
50+
# Centralized and Distributed VCS
51+
52+
* Central VCS
53+
* A central system contains the *version database*, clients work on this system
54+
* Examples: CVS, Subversion
55+
56+
<img src="../../_images/mermaid/central-vcs.mmd.png" alt="Central VCS"/>
57+
58+
* Decentral VCS
59+
* Clients mirror the *version database* from a central system and work locally
60+
* Examples: Git, Mercurial
61+
62+
<img src="../../_images/mermaid/decentral-vcs.mmd.png" alt="Decentral VCS"/>
63+
4964
!SLIDE
5065
# The History of Git
5166

day1/01_Introduction/04_Basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Git stores compressed snapshots (aka BLOBs) of the files, not diffs. It keeps tr
1616

1717
If a file does not change between commits, Git just refers back to the previous commit.
1818

19-
<center><img src="../../_images/mermaid/deltas.mmd.png" alt="Git Snapshots" width="50%"/></center>
19+
<center><img src="../../_images/mermaid/deltas.mmd.png" alt="Git Snapshots" width="400px"/></center>
2020

2121
!SLIDE smbullets
2222
# Git Branch

day1/03_Basics/01_Intro.md

+4-31
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,10 @@
1414
1515
****
1616
17-
Example from Git CLI command:
17+
How to list available commands and get help:
1818
19-
start a working area (see also: git help tutorial)
20-
clone Clone a repository into a new directory
21-
init Create an empty Git repository or reinitialize an existing one
22-
23-
work on the current change (see also: git help everyday)
24-
add Add file contents to the index
25-
mv Move or rename a file, a directory, or a symlink
26-
rm --cached Reset current HEAD to the specified state
27-
rm Remove files from the working tree and from the index
28-
29-
examine the history and state (see also: git help revisions)
30-
bisect Use binary search to find the commit that introduced a bug
31-
grep Print lines matching a pattern
32-
log Show commit logs
33-
show Show various types of objects
34-
status Show the working tree status
35-
36-
grow, mark and tweak your common history
37-
branch List, create, or delete branches
38-
checkout Switch branches or restore working tree files
39-
commit Record changes to the repository
40-
diff Show changes between commits, commit and working tree, etc
41-
merge Join two or more development histories together
42-
rebase Forward-port local commits to the updated upstream head
43-
tag Create, list, delete or verify a tag object signed with GPG
44-
45-
collaborate (see also: git help workflows)
46-
fetch Download objects and refs from another repository
47-
pull Fetch from and integrate with another repository or a local branch
48-
push Update remote refs along with associated objects
19+
git --help
20+
git clone --help
21+
man git-add
4922
5023
~~~ENDSECTION~~~

day2/01_Workflows/05_Gitlab_Workflow.md

-7
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,9 @@ GitLab puts the URL into the shell output when pushing the branch.
114114
115115
@@@ Sh
116116
$ git push -u origin feature/docs-merge-request
117-
Counting objects: 6, done.
118-
Delta compression using up to 4 threads.
119-
Compressing objects: 100% (6/6), done.
120-
Writing objects: 100% (6/6), 618 bytes | 618.00 KiB/s, done.
121117
Total 6 (delta 4), reused 0 (delta 0)
122-
remote:
123118
remote: To create a merge request for feature/docs-merge-request, visit:
124119
remote: https://[...].nws.netways.de/root/training/merge_requests/new?merge_request%5Bsource_branch%5D=feature%2Fdocs-merge-request
125-
remote:
126120
To https://[...].nws.netways.de/root/training.git
127121
* [new branch] feature/docs-merge-request -> feature/docs-merge-request
128122
Branch 'feature/docs-merge-request' set up to track remote branch 'feature/docs-merge-request' from 'origin'.
@@ -152,4 +146,3 @@ by merging the MR.
152146
@@@ Sh
153147
$ git checkout main
154148
$ git pull
155-
$ tig

day2/03_CI/04_Gitlab_Pipelines.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,7 @@ Example:
211211
212212
Rules are evaluated in order until the first match when the pipeline is created. Depending on the configuration, a job is either included or excluded.
213213
214-
The `rules` keyword accepts an array of rules defined with:
215-
216-
* if
217-
* changes
218-
* exists
219-
* allow_failure
220-
* variables
221-
* when
214+
The `rules` keyword accepts an array of rules defined with: if, changes , exists, allow_failure, variables, when.
222215
223216
~~~ENDSECTION~~~
224217

0 commit comments

Comments
 (0)