Created
October 31, 2011 11:49
-
-
Save ivikash/1327334 to your computer and use it in GitHub Desktop.
Presentation on git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vikash@localhost GIT]$ pdflatex git.tex | |
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) | |
%&-line parsing enabled. | |
entering extended mode | |
(./git.tex | |
LaTeX2e <2005/12/01> | |
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh | |
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng | |
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish, | |
french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc | |
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por | |
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, | |
turkish, ukenglish, ukrainian, loaded. | |
(/usr/share/texmf/tex/latex/beamer/beamer.cls | |
(/usr/share/texmf/tex/latex/beamer/beamerbasercs.sty) | |
Document Class: beamer 2005/10/23 cvs version 3.06 A class for typesetting pres | |
entations (rcs-revision 1.67) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasemodes.sty | |
(/usr/share/texmf/tex/latex/beamer/beamerbasedecode.sty)) | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseoptions.sty | |
(/usr/share/texmf/tex/latex/graphics/keyval.sty)) | |
(/usr/share/texmf/tex/latex/pgf/basiclayer/pgfcore.sty | |
(/usr/share/texmf/tex/latex/graphics/graphicx.sty | |
(/usr/share/texmf/tex/latex/graphics/graphics.sty | |
(/usr/share/texmf/tex/latex/graphics/trig.sty) | |
(/usr/share/texmf/tex/latex/config/graphics.cfg) | |
(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def))) | |
(/usr/share/texmf/tex/latex/pgf/systemlayer/pgfsys.sty | |
(/usr/share/texmf/tex/latex/pgf/utilities/pgfrcs.sty | |
(/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-common.tex) | |
(/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-latex.def) | |
(/usr/share/texmf/tex/generic/pgf/utilities/pgfrcs.code.tex)) | |
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys.code.tex | |
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgf.cfg) | |
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys-pdftex.def | |
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def))) | |
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex)) | |
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty | |
(/usr/share/texmf/tex/latex/config/color.cfg)) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcore.code.tex | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoremath.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorequick.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex) | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex))) | |
(/usr/share/texmf/tex/latex/pgf/basiclayer/pgfbaseimage.sty | |
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfbaseimage.code.tex)) | |
(/usr/share/texmf/tex/latex/pgf/utilities/xxcolor.sty) | |
(/usr/share/texmf/tex/latex/amsfonts/amssymb.sty | |
(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)) | |
(/usr/share/texmf/tex/latex/geometry/geometry.sty) | |
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty | |
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def) | |
(/usr/share/texmf/tex/latex/config/hyperref.cfg) | |
(/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty) | |
Implicit mode OFF; no redefinition of LaTeX internals | |
(/usr/share/texmf/tex/latex/ltxmisc/url.sty) | |
Package hyperref Warning: Option `pdfpagelabels' is turned off | |
(hyperref) because \thepage is undefined. | |
Hyperref stopped early | |
) | |
*hyperref using default driver hpdftex* | |
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def) | |
(/usr/share/texmf/tex/latex/base/size11.clo) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasecompatibility.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasefont.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasemisc.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasetwoscreens.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseoverlay.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasetitle.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasesection.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseframe.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseverbatim.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseframesize.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseframecomponents.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasecolor.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasenotes.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasetoc.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasetemplates.sty | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseauxtemplates.sty | |
(/usr/share/texmf/tex/latex/beamer/beamerbaseboxes.sty))) | |
(/usr/share/texmf/tex/latex/beamer/beamerbaselocalstructure.sty | |
(/usr/share/texmf/tex/latex/tools/enumerate.sty)) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasenavigation.sty) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasetheorems.sty | |
(/usr/share/texmf/tex/latex/amsmath/amsmath.sty | |
For additional information on amsmath, use the `?' option. | |
(/usr/share/texmf/tex/latex/amsmath/amstext.sty | |
(/usr/share/texmf/tex/latex/amsmath/amsgen.sty)) | |
(/usr/share/texmf/tex/latex/amsmath/amsbsy.sty) | |
(/usr/share/texmf/tex/latex/amsmath/amsopn.sty)) | |
(/usr/share/texmf/tex/latex/amscls/amsthm.sty)) | |
(/usr/share/texmf/tex/latex/beamer/beamerbasethemes.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/theme/beamerthemedefault.sty | |
(/usr/share/texmf/tex/latex/beamer/themes/font/beamerfontthemedefault.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemedefault.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/inner/beamerinnerthemedefault.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/outer/beamerouterthemedefault.sty))) | |
(/usr/share/texmf/tex/latex/beamer/themes/theme/beamerthemeCambridgeUS.sty | |
(/usr/share/texmf/tex/latex/beamer/themes/inner/beamerinnerthemerounded.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/outer/beamerouterthemeinfolines.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemebeaver.sty)) | |
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemestructure.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/theme/beamerthemeRochester.sty | |
(/usr/share/texmf/tex/latex/beamer/themes/outer/beamerouterthemesidebar.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/inner/beamerinnerthemerectangles.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemewhale.sty) | |
(/usr/share/texmf/tex/latex/beamer/themes/color/beamercolorthemeorchid.sty)) | |
Package hyperref Warning: Token not allowed in a PDFDocEncoded string, | |
(hyperref) removing `\\' on input line 14. | |
Package hyperref Warning: Token not allowed in a PDFDocEncoded string, | |
(hyperref) removing `\\' on input line 14. | |
(./git.aux) (/usr/share/texmf/tex/latex/hyperref/nameref.sty | |
(/usr/share/texmf/tex/latex/oberdiek/refcount.sty)) (./git.out) (./git.out) | |
(./git.nav) [1{/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./git.toc | |
) | |
LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available | |
(Font) size <5> substituted on input line 26. | |
[2] <3.jpg, id=88, 1003.75pt x 1415.2875pt> <use 3.jpg> | |
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd) | |
(/usr/share/texmf/tex/latex/amsfonts/umsb.fd) | |
Overfull \vbox (4.48277pt too high) detected at line 48 | |
[3 <./3.jpg>] <use 3.jpg> | |
Overfull \vbox (4.48277pt too high) detected at line 48 | |
[4] <use 3.jpg> | |
Overfull \vbox (4.48277pt too high) detected at line 48 | |
[5] <use 3.jpg> | |
Overfull \vbox (4.48277pt too high) detected at line 48 | |
[6] <use 3.jpg> | |
Overfull \vbox (4.48277pt too high) detected at line 48 | |
[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] | |
Overfull \hbox (87.38445pt too wide) in paragraph at lines 184--184 | |
[] | |
[41]) | |
Runaway argument? | |
\let \AtEndDocument \@firstofone \@enddocumenthook \@checkend {docume\ETC. | |
! File ended while scanning use of \beamer@collect@@body. | |
<inserted text> | |
\par | |
<*> git.tex | |
? ^Z | |
[3]+ Stopped pdflatex git.tex | |
[vikash@localhost GIT]$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[13pt]{beamer} | |
\usetheme{CambridgeUS} | |
\useoutertheme{infolines} | |
\usecolortheme[RGB={0,0,204}]{structure} | |
\usecolortheme{beaver} | |
%\usetheme[height=7mm]{Boadilla} | |
\usetheme[height=7mm]{Rochester} | |
\setbeamertemplate{blocks}[rounded][shadow=true] | |
\usepackage{graphics} | |
%\usepackage{ulem} | |
% items enclosed in square brackets are optional; explanation below | |
\title{git} | |
\author[Vikash]{Vikash Agrawal\\[email protected]\\@ivikashagrawal } | |
\institute[LUG Manipal]{Linux Users Group, Manipal} | |
\date[\today]{\today } | |
\begin{document} | |
\begin{frame}[plain] | |
\titlepage | |
\end{frame} | |
\section*{Origin} | |
\begin{frame} | |
\frametitle{Index} | |
\tableofcontents | |
\end{frame} | |
\section{History} | |
\begin{frame} | |
\frametitle{A bit of history} | |
\begin{columns} | |
\begin{column}{0.5\textwidth} | |
\includegraphics[width=1\textwidth]{3.jpg} | |
\end{column} | |
\begin{column}{0.5\textwidth} | |
\begin{itemize} | |
\pause | |
\item{Distributed version control system} | |
\pause | |
\item{Designed by \ldots for Linux kernel development} | |
\pause{} | |
\item{git is slang for a stupid or unpleasant person} | |
\pause{} | |
\item{"I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git."} | |
\end{itemize} | |
\end{column} | |
\end{columns} | |
\end{frame} | |
\section{Features} | |
\begin{frame} | |
\frametitle{Features - lets discuss!} | |
\begin{itemize} | |
\pause{} | |
\item{Distributed development (?)} | |
\pause{} | |
\item{Each developer has a local copy of dev history. The changes are done in a different branch and can be merged easily} | |
\pause | |
\item{Strong support for non-linear development (?)} | |
\pause{} | |
\item{Git supports rapid and convenient branching and merging, and includes powerful tools for visualizing and navigating a non-linear development history. } | |
\end{itemize} | |
\end{frame} | |
\begin{frame} | |
\frametitle{Features - lets discuss!} | |
\begin{itemize} | |
\pause{} | |
\item{Efficient handling of large project, is very fast (logs, history, diff)} | |
\pause{} | |
\item{Cryptographic authentication of history} | |
\pause | |
\item{Codes can be changed, edited locally in a different branch and can be pushed to the server} | |
\end{itemize} | |
\end{frame} | |
\section{Installation} | |
\begin{frame} | |
\frametitle{How can I get it in my machine} | |
\begin{itemize} | |
\pause{} | |
\item{Using source (linux/macs/similar)} | |
\pause{} | |
\item{apt-get install, or yum install, or zypper in git , etc} | |
\pause | |
\item{For windoze, msysgit OR http://help.github.com/win-set-up-git} | |
\end{itemize} | |
\end{frame} | |
\section{Why do I need remote server} | |
\begin{frame} | |
\frametitle{Why do I need remote server} | |
\begin{itemize} | |
\pause{} | |
\item{Dude, I can edit my code locally then why do I need remote server?} | |
\pause{} | |
\item{As we want to share my code/branch or do my project I need a remote/upstream server } | |
\pause | |
\item{What are the protocols supported by git?} | |
\pause{} | |
\item{Repositories can be published via HTTP, FTP, rsync, or a "Git" protocol over either a plain socket or ssh} | |
\pause{} | |
\item{Note:- If you use ssh, then you need to do "ssh-keygen" before and share id\_rsa.pub(most imp) always and never share id\_rsa} | |
\end{itemize} | |
\end{frame} | |
\section{Who uses Git} | |
\begin{frame} | |
\frametitle{Who uses Git these days} | |
\begin{columns} | |
\begin{column}{0.5\textwidth} | |
\begin{itemize} | |
\pause | |
\item{Many Open-source organizations} | |
\pause | |
\item{Twitter} | |
\pause | |
\item{Facebook} | |
\pause | |
\item{Yahoo} | |
\pause{} | |
\item{Qt} | |
\end{itemize} | |
\end{column} | |
\begin{column}{0.5\textwidth} | |
\begin{itemize} | |
\pause | |
\item{Diaspora} | |
\pause | |
\item{Linux Kernel} | |
\pause | |
\item{OLPC} | |
\pause | |
\item{and many many more\ldots} | |
\pause | |
\item{Video} | |
\end{itemize} | |
\end{column} | |
\end{columns} | |
\end{frame} | |
\section{Getting started} | |
\begin{frame} | |
\frametitle{Gitting started} | |
\begin{itemize} | |
\pause | |
\item{First cofigure the user} | |
\begin{itemize} | |
\item git config --global user.name "Vikash Agrawal" | |
\item git config --global user.email "[email protected]" | |
\end{itemize} | |
\pause | |
\item{gitk -a a GUI tool for git} | |
\end{itemize} | |
\end{frame} | |
\begin{frame} | |
\frametitle{git commands: basics} | |
\begin{table}[h] | |
\begin{center} | |
\begin{tabular}{l|l} | |
git init & Initialize a git repository\\ | |
git add & Add files to a repository \\ | |
git diff & Generate a diff \\ | |
git grep & Search for a keyword \\ | |
git status & Show uncommitted status to the current projects\\ | |
git clone \textit{url} & Clone a repository. Sets up master branch w/ origin remote\\ | |
git branch & Make your own branch \\ | |
git branch -a & List all branches ( detemine current branch)\\ | |
git tag -a \textit{name} & Add a tag with indicated name\\ | |
git revert & Undo a previous commit \\ | |
git push \textit{remote} \textit{local\_branch} & Pushing changes to a remoter server (remote \to origin)\\ | |
\end{tabular} | |
\end{center} | |
\end{table} | |
%\end{itemize} | |
\end{frame} | |
\section{Que and Ans} | |
\begin{frame} | |
\frametitle{Question and Answers} | |
\begin{frame} | |
\begin{columns} | |
\begin{column}{0.5\textwidth} | |
\includegraphics[width=1\textwidth]{4.jpg} | |
\end{column} | |
\begin{column}{0.5\textwidth} | |
\huge{Please Ask Your doubts} | |
\end{column} | |
\end{columns} | |
\end{frame} | |
\begin{frame} | |
\begin{columns} | |
\begin{column}{0.5\textwidth} | |
\includegraphics[width=1\textwidth]{lug.jpg} | |
\end{column} | |
\begin{column}{0.5\textwidth} | |
\Huge{Thank You!!!} | |
\end{column} | |
\end{columns} | |
\end{frame} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment