-
Notifications
You must be signed in to change notification settings - Fork 110
/
index.html
242 lines (223 loc) · 10.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ontwerp 4 - Git-flow</title>
<link rel="stylesheet" href="style/index.css">
</head>
<body>
<header id="header">
<h1 id="page-title">Ontwerp 4 - Git-flow</h1>
<p id="naam">Student-naam</p>
<p id="version">Versie: 3</p>
</header>
<main id="main">
<section id="intro">
<h1>Ontwerp 4 - Git-flow</h1>
</section>
<article id="introductie">
<header>
<div class="title">
<h2>Introductie</h2>
</div>
<div class="meta">
<img src="images/placeholder.jpg">
</div>
</header>
<section>
<h3>Doelstelling</h3>
<ul>
<li>
Behendig zijn in:
<em>commits</em>,
<em>branching</em>,
<em>merging</em>,
<em>pushing</em> en
<em>pulling</em>
</li>
<li>Merge conflicten kunnen oplossen</li>
<li>Kunnen werken volgens de gitflow methode</li>
</ul>
</section>
<section>
<h3>Startinstructies</h3>
<ul>
<li>Fork deze repository naar jouw eigen github account</li>
<li>Clone deze fork naar jouw computer</li>
<li>Open je favoriete git applicatie en editor.</li>
<li><strong style="color: red;">Volg de instructies!!!!!</strong></li>
</ul>
</section>
</article>
<article id="afbeeldingen">
<header>
<div class="title">
<h2>Afbeeldingen toevoegen</h2>
</div>
<div class="meta">
<img src="images/placeholder.jpg">
</div>
</header>
<section>
<h3>Opdracht</h3>
<p>
Voor je begint met het aanpassen van de code,
zorg dat je in de <strong>develop</strong> branch zit.
</p>
<ul>
<li>Maak een nieuwe branch: <strong>feature/afbeeldingen</strong></li>
<li>Controleer dat je in deze branch zit</li>
<li>
Herhaal de volgende stappen voor iedere hoofdstuk.
<ul>
<li>
Zoek een passende afbeelding voor het hoofdstuk,
voeg deze afbeelding toe in de map <em>images</em> en maak een commit.
<a href="https://www.google.com/search?q=introduction&tbm=isch&&tbs=ic:trans,sur:fmc,itp:clipart">zoeken</a>
</li>
<li>
Pas de src aan van de placeholder afbeelding van het introductie hoofdstuk aan,
zodat de nieuw toegevoegde afbeelding zichtbaar is en maak een commit.
</li>
</ul>
</li>
<li>Ga terug naar de <strong>develop</strong> branch.</li>
<li><em>Merge</em> de aanpassingen van <strong>feature/afbeeldigen</strong> naar
<strong>develop</strong>.
</li>
<li>Push de <strong>develop</strong> branch naar github</li>
</ul>
</section>
</article>
<article>
<header>
<div class="title">
<h2>Hete soep!</h2>
</div>
<div class="meta">
<img src="images/placeholder.jpg">
</div>
</header>
<section>
<ul>
<li>Ga naar de <strong>master</strong> branch.</li>
<li>Start een nieuwe hotfix branch: <strong>hotfix/naam-vergeten</strong></li>
<li>
Voeg jouw naam toe aan de <em>index.html</em><br>
Boven aan de pagina, in de header, kun je de tekst <a href="#naam">"Student-naam"</a>
weghalen en jouw eigen naam invoeren.
</li>
<li>Commit deze aanpassing</li>
<li>Ga naar de <strong>develop</strong> branch</li>
<li>
<em>Merge</em> de aanpassingen van
<strong>hotfix/naam-vergeten</strong> naar
<strong>develop</strong>.
</li>
<li>Push de <strong>develop</strong> branch naar github</li>
<li>Ga naar de <strong>master</strong> branch</li>
<li>
<em>Merge</em> de aanpassingen van
<strong>hotfix/naam-vergeten</strong> naar
<strong>master</strong>.
</li>
<li>Push de <strong>master</strong> branch naar github</li>
</ul>
</section>
</article>
<article id="conflict">
<header>
<div class="title">
<h2>Een conflict oplossen</h2>
<p>
Winnaar:
<span id="winnaar">Onbekend</span>
</p>
</div>
<div class="meta">
<img src="images/placeholder.jpg">
</div>
</header>
<section>
<h3>Chuck</h3>
<ul>
<li>Begin een nieuwe feature branch: <strong>feature/chuck</strong></li>
<li>Pas de hierboven aangegeven winnaar aan naar: <em>Chuck Norris</em></li>
<li>Commit deze wijziging.</li>
</ul>
<h3>Superman</h3>
<ul>
<li>Ga terug naar de <strong>develop</strong> branch</li>
<li>Begin een nieuwe feature branch: <strong>feature/superman</strong></li>
<li>Pas de hierboven aangegeven winnaar aan naar: <em>Superman</em></li>
<li>Commit deze wijziging.</li>
</ul>
<h3>Fight!</h3>
<ul>
<li>Ga terug naar de <strong>develop</strong> branch</li>
<li>
<em>Merge</em> de aanpassingen van <strong>feature/superman</strong> naar
<strong>develop</strong>.
</li>
<li>Controleer of superman de winnaar is.</li>
<li><em>Merge</em> de aanpassingen van <strong>feature/chuck</strong> naar
<strong>develop</strong>.
</li>
<li>
<strong>Conflict!</strong>
<pre><code>
<<<<<<< HEAD
<span id="winnaar">Superman</span>
=======
<span id="winnaar">Chuck</span>
>>>>>>> feature/chuck
</code>
</pre>
</li>
<li>Zorg dat <em>Chuck</em> de winnaar is.</li>
<li>Commit de merge</li>
<li>Push de <strong>develop</strong> branch naar github</li>
</ul>
</section>
</article>
<article>
<header>
<div class="title">
<h2>Release</h2>
</div>
<div class="meta">
<img src="images/placeholder.jpg">
</div>
</header>
<section>
<ul>
<li>Ga naar de <strong>develop</strong> branch.</li>
<li>Start een nieuwe release branch: <strong>release/{versie}</strong></li>
<li>
Pas de versie aan in de <em>index.html</em><br>
Boven aan de <em>index.html</em>, zie je de laatse <a href="#version">versie</a>,
jouw <em>{versie}</em> is 1 cijfer hoger.
</li>
<li>Commit deze aanpassing</li>
<li>Ga naar de <strong>develop</strong> branch</li>
<li>
<em>Merge</em> de aanpassingen van
<strong>release/{versie}</strong> naar
<strong>develop</strong>.
</li>
<li>Push de <strong>develop</strong> branch naar github</li>
<li>Ga naar de <strong>master</strong> branch</li>
<li>
<em>Merge</em> de aanpassingen van
<strong>release/{versie}</strong> naar
<strong>master</strong>.
</li>
<li>Push de <strong>master</strong> branch naar github</li>
</ul>
</section>
</article>
</main>
<footer>
</footer>
</body>
</html>