-
Notifications
You must be signed in to change notification settings - Fork 0
/
2016-02-14-git.html
182 lines (175 loc) · 6.81 KB
/
2016-02-14-git.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="generator" content="pandoc">
<title>git</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.css"/>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="css/theme/moon.css" id="theme">
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1 class="title">git</h1>
<h3 class="date"></h3>
</section>
<section id="git" class="slide level1">
<h1>Git</h1>
<h2 id="the-coolest-tool-on-the-planet">The coolest tool on the planet</h2>
<div>
<aside class="notes">
<pre><code><p>I'm going to show you why git is the coolest tool on the planet</p></code></pre>
</aside>
</div>
</section>
<section id="github" class="slide level1">
<h1>GitHub</h1>
<ul>
<li><code>GitHub</code> is not <code>git</code></li>
<li>One of many web interfaces to a <code>git</code> repo</li>
<li>It's a corporation, a website</li>
<li>Efficient, open, generous, socially responsible, sustainable company</li>
<li><p>For-Profit</p></li>
<li><p>Most pro-social company on the planet?</p></li>
</ul>
</section>
<section id="github-niceness" class="slide level1">
<h1>GitHub Niceness</h1>
<h2 id="hosts-static-websites-for-free">Hosts static websites for free</h2>
<ul>
<li>no database</li>
<li>no python</li>
<li>nothing <code>persistent</code></li>
</ul>
</section>
<section id="github-niceness-1" class="slide level1">
<h1>GitHub Niceness</h1>
<h2 id="renders-popular-file-formats-natively">Renders popular file formats natively</h2>
<ul>
<li>iPython notebooks</li>
<li>Markdown</li>
<li>JPG, PNG</li>
<li>not PDF?</li>
</ul>
</section>
<section id="github-niceness-2" class="slide level1">
<h1>GitHub Niceness</h1>
<h2 id="pull-requests">Pull Requests!</h2>
<ul>
<li>E-mail <code>diff</code> to team and have them <code>patch</code> ?!!!</li>
<li><strong>No Longer!!</strong>: Use GitHub API or website</li>
<li>Comment on changes within code!</li>
<li>Best/only way to do <em>code review</em></li>
</ul>
</section>
<section id="back-story" class="slide level1">
<h1>"Back Story"</h1>
<ul>
<li><p>Linus dispute with <code>hg</code> (Mercurial) and bitbucket (Atlassian)</p></li>
<li>BitBucket inching up his "subscription" plan</li>
<li>Wouldn't implement important security features</li>
<li><p>Linux sabatouers/plants from Microsoft?</p></li>
</ul>
</section>
<section id="moral-of-the-story" class="slide level1">
<h1>"Moral" of the Story</h1>
<ul>
<li>Linux team put minds together and built <code>git</code> in a week</li>
<li>"Friends" built GitHub in a few months</li>
<li>All Linux development happens on git</li>
<li>Google shut down Google Code in favor of GitHub</li>
<li>Focussed on efficiency for the user</li>
<li>Helpful prompts when something goes wrong</li>
<li>Atlassian is tightly aligned with Microsoft and raking it in</li>
</ul>
</section>
<section id="support-github-ecosystem" class="slide level1">
<h1>Support GitHub Ecosystem</h1>
<p>If you need to keep something private, pay GitHub for it.</p>
<p>Integrate it with travis, codeship, etc</p>
<div>
<aside class="notes">
<pre><code><p>You're forgiven for thinking git and github are the same ;)</p></code></pre>
</aside>
</div>
</section>
<section id="integrations" class="slide level1">
<h1>Integrations</h1>
<ul>
<li>Thousands of 3rd party apps integrate with it</li>
<li>You can deploy a complex application just by pushing to GitHub</li>
</ul>
</section>
<section id="tutorials" class="slide level1">
<h1>Tutorials</h1>
<ul>
<li><a href="http://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository">Official <code>git</code> book</a></li>
<li><a href="http://rogerdudler.github.io/git-guide/">An in-your-face introduction</a> is pretty good.</li>
<li><a href="https://blog.interlinked.org/tutorials/git.html">A humble, casual tutorial</a></li>
</ul>
</section>
<section id="workflow" class="slide level1">
<h1>Workflow</h1>
<p>Developers have a workflow like factory workers.</p>
<p>Your work must integrate with parts from others.</p>
<p>Your workflow is how you "play nice" with others.</p>
<p>You don't need to worry about this.</p>
<p><a href="http://github.com/hackoregon/hack-university-machine-learning">hack-university</a> is your playground to learn in.</p>
</section>
<section id="workflow-1" class="slide level1">
<h1>Workflow</h1>
<ul>
<li>Flexibile tools, means lots of "workflow" options</li>
<li>how you</li>
<li><code>branch</code></li>
<li><code>pull</code></li>
<li><code>merge</code></li>
<li><code>push</code></li>
<li>Deploy</li>
</ul>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true, // Display controls in the bottom right corner
progress: true, // Display a presentation progress bar
history: true, // Push each slide change to the browser history
center: false, // Vertical centering of slides
maxScale: 1.5, // Bounds for smallest/largest possible content scale
slideNumber: false, // Display the page number of the current slide
theme: 'moon', // available themes are in /css/theme
transition: 'fade', // default/cube/page/concave/zoom/linear/fade/none
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
// { src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, }
// { src: 'plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
]});
</script>
</body>
</html>