Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git_basis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
Hub
formations
git_basis
Commits
166e4668
Commit
166e4668
authored
Jul 10, 2017
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
separation between frame and subsections
parent
1012a3a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
presentation.tex
+13
-1
13 additions, 1 deletion
presentation.tex
with
13 additions
and
1 deletion
presentation.tex
+
13
−
1
View file @
166e4668
...
...
@@ -100,9 +100,10 @@ time so that you can recall specific versions later.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section
{
Git from the inside out
}
\subsection
{
Git repository
}
\begin{frame}
[fragile]
\frametitle
{
Creating a git repository
}
Creating a project folder
\vspace
{
-1em
}
\begin{shcode}
...
...
@@ -122,6 +123,7 @@ alpha
\vspace
{
-
1
em
}
\end
{
frame
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin
{
frame
}
[
fragile
]
\frametitle
{
Creating a git repository
}
Creating a git repository
...
...
@@ -154,6 +156,8 @@ All the other files are collectively known as the \textbf{working copy}.
They are the user’s.
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection
{
Tracking files with Git
}
\begin{frame}
[fragile]
\frametitle
{
tracking a file with git
}
We want to track the modification made to
\mintinline
{
sh
}{
letter.txt
}
...
...
@@ -176,6 +180,7 @@ alpha
\vspace
{
-
1
em
}
\end
{
frame
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin
{
frame
}
[
fragile
]
\frametitle
{
git add : part
1
}
We want to track the modification made to
\mintinline
{
sh
}{
letter.txt
}
\\
[-
2
.
5
em
]
...
...
@@ -201,6 +206,7 @@ Git \textbf{blob}:\\[-2.5em]
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
[fragile]
\frametitle
{
git add : part 2
}
git adds the file to the index
\\
[-2.5em]
...
...
@@ -226,6 +232,7 @@ It is stored in \mintinline{sh}{.git/index}\\[-2.5em]
\vspace
{
-
2
.
5
em
}
\end
{
frame
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin
{
frame
}
[
fragile
]
\frametitle
{
git add : part
3
}
...
...
@@ -258,6 +265,7 @@ And add it to the index\\[-2.5em]
\vspace
{
-
2
.
5
em
}
\end
{
frame
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin
{
frame
}
[
fragile
]
\frametitle
{
git add : part
3
}
...
...
@@ -289,6 +297,10 @@ git creates a new blob for the new \mintinline{sh}{data/number.txt}\\[-2.5em]
\vspace
{
-2.5em
}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection
{
Committing change to Git
}
\begin{frame}
\frametitle
{
git commit
}
\begin{center}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment