Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Git course
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
courses
Git course
Commits
0f3fd2ab
Commit
0f3fd2ab
authored
Mar 26, 2018
by
Mihai Lefter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reordering slides in basics
parent
2a53a7bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
17 deletions
+25
-17
basics/basics.tex
basics/basics.tex
+25
-17
No files found.
basics/basics.tex
View file @
0f3fd2ab
...
...
@@ -12,6 +12,14 @@
\usetheme
{
lumc
}
\AtBeginSection
[]
{
\begin{frame}
\frametitle
{
Table of contents
}
\tableofcontents
[currentsection, subsectionstyle=hide/hide]
\end{frame}
}
\begin{document}
% This disables the \pause command, handy in the editing phase.
...
...
@@ -21,8 +29,8 @@
\makeTitleSlide
{
\includegraphics
[width=3.5cm]
{
../shared/git
_
logo.pdf
}}
% First page of the presentation.
\section
{
Starting a project
}
\subsection
{
You can either
}
\section
{
Getting started
}
\subsection
{
To start a project you can either:
}
\begin{pframe}
1. Start from scratch on your own:
\vspace
{
-0.3cm
}
...
...
@@ -37,7 +45,7 @@
2. Or you can
\cmd
{
clone
}
an existing remote (or local) repository:
\vspace
{
-0.3cm
}
\begin{framed}
\prompt\ \gitcmd\ \cmd
{
clone
}
\ \cmdarg
{
\
<
path-to-repository
\>
}
\\
\prompt\ \gitcmd\ \cmd
{
clone
}
\ \cmdarg
{
\
{
path-to-repository
\}
}
\\
\cliout
{
Cloning into
\{
repo-name
\}
...
}
\end{framed}
\end{pframe}
...
...
@@ -58,20 +66,7 @@
\important
{
Removing this directory means removing your repository!
}
\end{pframe}
\section
{
Git Operations
}
\begin{pframe}
\vspace
{
-0.9cm
}
Operations can be local or remote.
\\
Most importantly, they track files around these three
\textbf
{
areas
}
\footnote
[1]
{
\scriptsize
{
Adapted from the
\href
{
http://git-scm.com/book/en/v2/Getting-Started-Git-Basics
}
{
Pro Git Book
}
.
}}
:
\begin{center}
\includegraphics
[width=0.7\textwidth]
{
images/git
_
areas.pdf
}
\\
\end{center}
\end{pframe}
\subsection
{
Prelude: quick setup
}
\subsection
{
Quick setup
}
\begin{pframe}
If you have never used
\gitcmd\
before you need to tell it who you are. This
information is saved in
\cmdarg
{
.gitconfig
}
\
and used to mark each commit.
...
...
@@ -103,6 +98,19 @@
\end{framed}
\end{pframe}
\subsection
{
Playing areas
}
\begin{pframe}
Git operations track files around these three
\textbf
{
areas
}
\footnote
[1]
{
\scriptsize
{
Adapted from the
\href
{
http://git-scm.com/book/en/v2/Getting-Started-Git-Basics
}
{
Pro Git Book
}
.
}}
:
\begin{center}
\includegraphics
[width=0.7\textwidth]
{
images/git
_
areas.pdf
}
\\
\end{center}
\vspace
{
-0.4cm
}
\end{pframe}
\section
{
Git Operations
}
\subsection
{
Checking the status of your files
}
\begin{pframe}
\begin{framed}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment