forked from tkrajina/uvod-u-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
git.tex
executable file
·138 lines (102 loc) · 2.93 KB
/
git.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
\documentclass[11pt,twoside,a4paper]{report}
\linespread{1.2}
\title{Uvod u git}
\usepackage[pdftex]{color}
\usepackage[croatian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx}
\usepackage{makeidx}
\usepackage{color}
\usepackage[pdfborder=1]{hyperref}
\addtolength{\hoffset}{-1cm}
\addtolength{\voffset}{-1cm}
\addtolength{\textwidth}{2cm}
\addtolength{\textheight}{1cm}
\pagestyle{empty}
\makeindex
\definecolor{orange}{rgb}{1,0.5,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\newcommand{\gitgraphics}[1]{%
\begin{tabular}{l}
\begin{minipage}[b]{120mm}%
\vspace*{5mm}%
\noindent
\includegraphics[width=12cm]{#1}
\vspace*{5mm}%
\end{minipage}%
\end{tabular}
}
\newcommand{\gitoutput}[1]{%
\begin{tabular}{|l}
\begin{minipage}[b]{140mm}%
\vspace*{5mm}%
\noindent
\texttt{#1}
\vspace*{5mm}%
\end{minipage}%
\end{tabular}
}
\newcommand{\gitoutputcommand}[1]{%
\gitoutput{\color{blue}{#1}}%
}
\newcommand{\TODO}{\textcolor{red}{\textbf{TODO:}}}
%\setlength{\parindent}{0.25in}
\setlength{\parskip}{3mm}
\begin{document}
\begin{titlepage}
\vspace*{1cm}
\begin{center}
\Huge \textbf{U V O D \ \ U \ \ G I T}
\end{center}
\begin{center}
Tomo Krajina
\end{center}
\vspace*{0.5cm}
Od\dots
\input{graphs/linearni_model}
\dots{}preko\dots
\input{graphs/linearni_model_2}
\dots{}pa do\dots
\input{graphs/primjer_s_granama_i_spajanjima}
\dots{}a bome i dalje.
\vspace*{1cm}
\begin{center}
\emph{Commit}
\input{current_commit}
\end{center}
\end{titlepage}
\pagestyle{empty}
\vspace*{4cm}
\begin{center}
\includegraphics[width=2cm]{images/cc-88x31.png}
\end{center}
\begin{itemize}
\item Izdano pod "Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported" licencom. Detalji na: \\ \url{http://creativecommons.org/licenses/by-nc-sa/3.0/}
\item Ovu knjigu \textbf{možete kopirati}, fotokopirati, dijeliti prijateljima i kolegama i koristiti za učenje,
\item Kopije (digitalne ili "papirnate") ove knjige \textbf{ne smijete koristiti da biste na bilo koji način na njima zaradili},
\item Ovu knjigu \textbf{smijete mijenjati}, ali mora biti \textbf{jasno naznačeno koje dijelove knjige je tko napisao},
\item Izmijenjenu knjigu i dalje možete kopirati i dijeliti, ali \textbf{izmijenjena verzija mora zadržati istu ili kompatibilnu licencu}.
\item Izmijenjena knjiga \textbf{mora sadržavati link na originalnu lokaciju \LaTeX koda ove knjige}: \\ \url{https://github.com/tkrajina/uvod-u-git}
\end{itemize}
\pagestyle{plain}
\setcounter{page}{1}
\tableofcontents
\include{uvod}
\include{verzioniranje-koda}
\include{git-init}
\include{git-commit}
\include{git-branch}
\include{git-merge}
\include{git-tag}
\include{ispod-haube}
\include{git-log}
\include{git-remote}
% TODO
%\include{git-subtree}
\include{git-gc}
\include{dodaci}
\include{terminologija}
%\include{zahvale}
%\include{}
\printindex
\end{document}