-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
173 lines (136 loc) · 3.49 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>git - dufferZafar</title>
<link rel="stylesheet" href="reveal.min.css">
<link rel="stylesheet" href="serif.min.css" id="theme">
<style>
#command {
font-family: 'Consolas';
font-size: 100px;
}
</style>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1 style="font-family: 'Consolas'; font-size: 200px;">git</h1>
<p><i>noun.</i></p>
<p>"an unpleasant or contemptible person"</p>
</section>
<section>
<h1>why?</h1>
</section>
<section>
<section>
<h2>git is a distributed version control software</h2>
</section>
<section>
<h2>git is a distributed <u><b>version control</b></u> software</h2>
</section>
<section>
<h2>git is a <u><b>distributed</b></u> version control software</h2>
</section>
</section>
<section>
<section>
<h1>github?</h1>
</section>
<section>
<h2>it's a site that hosts code</h2>
</section>
<section>
<h2>git != github</h2>
<p>a tool that manages your code</p>
<p>a site that stores it</p>
</section>
<section>
<h2>why github?</h2>
</section>
</section>
<section>
<section>
<h2>your first repository</h2>
</section>
<section>
<h1>repo?</h1>
<p>a central location in which data is stored and managed</p>
</section>
<section>
<h2>create on github</h2>
</section>
<section>
<h2 id="command">git clone</h2>
</section>
<section>
<h4>git config --global user.email "shadab.zafar@gmail.com"</h4>
<h4>git config --global user.name "Shadab Zafar"</h4>
</section>
</section>
<section>
<section>
<h2>write some code</h2>
</section>
<section>
<h2 id="command">git add .</h2>
</section>
<section>
<h2 id="command">git status</h2>
</section>
<section>
<h2 id="command">git commit</h2>
</section>
<section>
<h2 id="command">git push</h2>
</section>
<section>
<h2><code>while (1);</code></h2>
</section>
</section>
<section>
<section>
<h1>team</h1>
</section>
<section>
<h2>one of you creates a repo</h2>
</section>
<section>
<h2>the others 'fork' it</h2>
</section>
<section>
<h2>they clone <i>their</i> forks</h2>
<p>code, commit, push</p>
</section>
<section>
<h2>they create a pull request</h2>
</section>
<section>
<h2>pull gets merged</h2>
</section>
<section>
<h2>everyone is happy!</h2>
</section>
</section>
<section>
<p>
<code>git fetch upstream</code>
</p>
<p>
<code>git rebase upstream/master</code>
</p>
</section>
<section>
<h1>fin.</h1>
<h3><a href="http://github.com/dufferzafar">github.com/dufferzafar</a></h3>
</section>
</div>
</div>
<script src="head.min.js"></script>
<script src="reveal.min.js"></script>
<script>
Reveal.initialize({});
</script>
</body>
</html>