-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
260 lines (223 loc) Β· 6.69 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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Be Awesome with Git</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="css/theme/white.css">
<link rel="stylesheet" href="lib/css/zenburn.css">
<link rel="shortcut icon" href="images/be-awesome-with-git.png"/>
<link href="https://fonts.googleapis.com/css?family=Nunito:800,700,400,300,200" rel="stylesheet">
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body class="be-awesome-with-git">
<div class="reveal">
<div class="slides">
<section class="title">
<h1>Be Awesome</h1>
<hr>
<h1>with Git <img src="images/emoji/1f60e.svg" alt="Be Awesome with Git"></h1>
</section>
<section class="introduction">
<img class="photo" src="images/me.jpg" alt="Afnizar">
<br>
<h3>Hi, I'm Afnizar</h3>
<p class="fragment fade-up">A Designer. Previously, Limakilo, Astronaut and Fikri Studio</p>
</section>
<section data-background="#000" class="normal">
<h3>What is Git?</h3>
</section>
<section>
<div class="emoji">
<img src="images/emoji/1f648.svg" alt="Be Awesome with Git">
<!-- <img src="images/emoji/1f60e.svg" alt="Be Awesome with Git"> -->
</div>
</section>
<section data-background="#000" class="normal">
<h3>History</h3>
</section>
<section>
<div class="emoji">
<!-- <img src="images/emoji/1f4a9.svg" alt="Be Awesome with Git"> -->
<img src="images/emoji/1f60e.svg" alt="Be Awesome with Git">
</div>
</section>
<section class="normal">
<h3>Installation</h3>
<p>Install with git-scm <a href="https://git-scm.com/">https://git-scm.com/</a></p>
</section>
<section class="normal">
<h3>Type of Git User</h3>
</section>
<section class="normal">
<h3>Terminal for the king <img src="images/emoji/1f934.svg" alt=""></h3>
<img width="600" src="images/terminal.png" alt="">
</section>
<section class="normal">
<h3>GUI for the weak <img src="images/emoji/1f648.svg" alt=""></h3>
<img width="600" src="images/gui.png" alt="">
</section>
<section class="normal">
<h3>Initialize new Repository</h3>
</section>
<section>
<section>
<p>1. Make the folder! π</p>
</section>
<section>
<p>2. Open up terminal, and CD to the folder</p>
</section>
<section>
<p>3. Type <code>git init</code></p>
</section>
<section>
<p>4. Add some files</p>
</section>
<section>
<p>5. and so on...</p>
</section>
</section>
<section>
<div class="emoji">
<!-- <img src="images/emoji/1f4a9.svg" alt="Be Awesome with Git"> -->
<img src="images/emoji/1f60e.svg" alt="Be Awesome with Git">
</div>
</section>
<section class="normal">
<h3>Some term you should know</h3>
</section>
<section class="normal">
<h3>Forking</h3>
<p>
Forking is to <mark>take the source code</mark> and <mark>develop</mark> an entirely new program
</p>
</section>
<section class="normal">
<img src="images/fork.png" alt="">
</section>
<section class="normal">
<img src="images/fork2.png" alt="">
</section>
<section class="normal">
<h3>Cloning</h3>
<p>
Clone a repository into a <mark>new directory</mark>
</p>
</section>
<section class="normal">
<img src="images/clone.png" alt="">
</section>
<section class="normal">
<h3>Let's try!</h3>
</section>
<section>
<section>
<p>1. Fork a repository</p>
</section>
<section>
<p>2. Clone the repository</p>
</section>
</section>
<section>
<div class="emoji">
<!-- <img src="images/emoji/1f4a9.svg" alt="Be Awesome with Git"> -->
<img src="images/emoji/1f44d.svg" alt="Be Awesome with Git">
</div>
</section>
<section class="normal">
<small>After that</small>
<h3>Git Workflow</h3>
</section>
<section>
<img src="images/areas.png" alt="">
</section>
<section class="normal">
<h3>Pull Requests</h3>
<p>
Pull requests let you tell others about <mark>changes you've pushed</mark> to a repository
</p>
</section>
<section class="normal">
<h3>Let's try!</h3>
</section>
<section>
<section>
<p>1. Add a file on repository that we clone</p>
</section>
<section>
<p>2. Open up your terminal</p>
</section>
<section>
<p>3. Type <code>git add .</code></p>
</section>
<section>
<p>4. Type <code>git commit -m "Add something"</code></p>
</section>
<section>
<p>5. Type <code>git push origin master</code></p>
</section>
<section>
<p>6. Do the pull request via Github</code></p>
</section>
</section>
<section class="normal">
<h3>Commit etiquette</h3>
</section>
<section class="normal">
<img src="images/commit_etiq.png" alt="">
</section>
<section class="normal">
<img src="images/etiq2.png" alt="">
</section>
<section>
<div class="emoji">
<img src="images/emoji/1f4a9.svg" alt="Be Awesome with Git">
<!-- <img src="images/emoji/1f60e.svg" alt="Be Awesome with Git"> -->
</div>
</section>
<section class="normal">
<h4>Good commit will</h4>
<ul>
<li>Speed up the reviewing process.</li>
<li>Help write a good release note.</li>
<li>Avoid confusion.</li>
<li>Quality repository.</li>
</ul>
</section>
<section class="normal">
<h3>Branch</h3>
<p>
Branch is essentially an <mark>independent line of development.</mark>
</p>
</section>
<section class="normal">
<img src="images/branching-model.gif" alt="">
</section>
<section class="normal">
<h2>Thank You</h2>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
Reveal.initialize({
history: true,
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
]
});
</script>
</body>
</html>