forked from ChrisKeefe/getGitPresentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
getGit.tex
219 lines (191 loc) · 6.78 KB
/
getGit.tex
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
% This program can be redistributed and/or modified under the terms
% of the GNU Public License, version 3.
%
% Seth Brown, Ph.D.
%
% Compiled with XeLaTeX
% Dependencies:
% Fontin Sans font (http://www.exljbris.com/fontinsans.html)
%
% TODO: Add citations as bibtex
\documentclass[unknownkeysallowed]{beamer}
\usepackage{graphicx} % graphics
\usepackage{epsfig} % eps graphics
\usepackage{hyperref} % urls
\usepackage{booktabs, caption} % table styling
% suppress navigation bar
\beamertemplatenavigationsymbolsempty
\mode<presentation>
{
\usetheme{bunsen}
\setbeamercovered{transparent}
\setbeamertemplate{items}[circle]
}
% set fonts
\usepackage{fontspec}
\setsansfont{Fontin Sans}
\setbeamerfont{frametitle}{size=\LARGE,series=\bfseries}
% color definitions
\usepackage{color}
\definecolor{uipoppy}{RGB}{225, 64, 5}
\definecolor{uipaleblue}{RGB}{96,123,139}
\definecolor{uiblack}{RGB}{0, 0, 0}
% caption styling
\DeclareCaptionFont{uiblack}{\color{uiblack}}
\DeclareCaptionFont{uipoppy}{\color{uipoppy}}
\captionsetup{labelfont={uipoppy},textfont=uiblack}
% see the macros.tex file for definitions
\include{macros}
% title slide definition
\title{Get Git}
\author{Chris Keefe, Anthony Simard}
\institute{Northern Arizona University \\
Department of Computer Science \\
School of Informatics, Computing, and Cyber Systems \\
}
\date{\today}
%--------------------------------------------------------------------
% Introduction
%--------------------------------------------------------------------
\begin{document}
\section{Introduction}
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight]{assets/frontpage_bg}}
\setbeamertemplate{footline}[default]
\begin{frame}
\vspace{2cm}
\begin{columns}
\column{2.75in}
\titlepage
\vspace{10cm}
\column{2.0in}
\end{columns}
\end{frame}
%-------------------------------------------------------------------
% Section 1
%-------------------------------------------------------------------
%
% Set the background for the rest of the slides.
% Insert infoline
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight]{assets/slide_bg}}
\setbeamertemplate{footline}[bunsentheme]
\section{What, Why, and How?}
\begin{frame}
\frametitle{What is git?}
\begin{itemize}
\item{Git is a powerful version control system}
\begin{itemize}
\item{Git allows multiple people to easily update the same source}
\item{Git makes keeping track of changes easy and robust}
\end{itemize}
\item{Git allows people around the world to collaborate on open and closed source projects}
\end{itemize}
\vspace{1cm} % generate some space between title and content
% Keeping all of this for now as an example in case we need to do something like this
%\begin{table}[h]
%\centering
%\begin{tabular}{lcccc} \bottomrule[2pt]
% Name & Symbol & $A_r$ & M.P. (K) & IE (J) \\ \bottomrule
% Helium & He & $4.00$ & $1$ & $3.94e^{-18}$ \\
% Carbon & C & $12.01$ & $773$ & $3.94e^{-18}$ \\
% Arsenic & As & $74.92$ & $1090$ & $1.48e^{-18}$ \\
% Gold & Au & $196.96$ & $1337$ & $1.48e^{-18}$ \\
% Cobalt & Co & $58.93$ & $1495$ & $1.26e^{-18}$ \\
%\bottomrule[2pt]
%\end{tabular}
%\caption{Properties of Whoville Elements}
%\end{table}
%\vspace{-0.6cm} % compact spacing between table and text
%\begin{columns}[t]
%\column{4.5cm}
%\begin{block}{Trace rare earth metals:}
%\begin{itemize}
% \item{Ytterbium}
% \item{Neodymium}
% \item{Praseodymium}
%\end{itemize}
%\end{block}
%\column{4.5cm}
%\begin{block}{Obtaining Neodymium:}
% \vspace{0.15cm}
% \circled{1}$\textemdash$bastn\"{a}site \\
% \circled{2}$\textemdash${monazite} \\
%\end{block}
%\end{columns}
\end{frame}
\begin{frame}
\frametitle{Git is not GitHub}
\begin{itemize}
\item{Git is a version control system}
\item{GitHub is a site cataloging some git repositories}
\begin{itemize}
\item{It is free to put open source repos on GitHub}
\item{You have to pay to catalog closed source repos}
\item{Not all git repos are catologed on GitHub}
\item{Git repos absolutely do not need to be on GitHub}
\item{There are tons of open source repos on GitHub that you can go and check out right now}
\end{itemize}
\end{itemize}
\vspace{1cm} % generate some space between title and content
\end{frame}
\begin{frame}
\frametitle{Who uses git?}
\begin{itemize}
\item{Everyone uses git}
\begin{itemize}
\item{Major corporations}
\item{Governments}
\item{Independent software developers}
\item{Students collaborating on projects}
\item{Many MANY open source projects}
\end{itemize}
\item{Git can easily be used for open or closed source projects making it a diverse and powerful tool}
\item{We used git and GitHub as version control for this presentation}
\end{itemize}
\vspace{1cm} % generate some space between title and content
\end{frame}
\begin{frame}
\frametitle{Why do I use git?}
\begin{itemize}
\item{It's required by my job.}
\item{Alongside GitHub, git makes showing off easy.}
\item{It gives me fast, free, highly redundant version control.}
\item{It makes it easier to work with other people.}
\item{It makes contributing to open source much easier.}
\end{itemize}
\vspace{1cm} % generate some space between title and content
\end{frame}
\section{Getting Started With Git}
\begin{frame}
\frametitle{Git and Operating Systems}
\begin{itemize}
\item{Windows: Install gitbash.}
\item{Linux: Install through package manager.}
\item{Mac: Download git-osx-installer and run. }
\end{itemize}
\vspace{1cm} % generate some space between title and content
\end{frame}
\begin{frame}
\frametitle{Our Sample Workflow}
Simple graphic displaying our workflow with labels for
\begin{itemize}
\item{working dir}
\item{local repo}
\item{origin repo}
\item{upstream repo}
\end{itemize}
\vspace{1cm} % generate some space between title and content
\end{frame}
\begin{frame}
\frametitle{Get source code}
\begin{itemize}
\item{sign up for hacktoberfest}
\item{Fork the repo to which you want to contribute}
\item{Clone the repo - copies it to your local machine. ``` git clone <repo html>```}
\item{Mac: ???}
\end{itemize}
\vspace{1cm} % generate some space between title and content
\end{frame}
\end{document}