Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Git course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
courses
Git course
Commits
8dfd0d8f
Commit
8dfd0d8f
authored
11 years ago
by
Vermaat
Browse files
Options
Downloads
Patches
Plain Diff
Started remote handouts
parent
a0bf3d38
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
remotes/remotes.tex
+3
-4
3 additions, 4 deletions
remotes/remotes.tex
remotes/remotes_handouts.tex
+76
-0
76 additions, 0 deletions
remotes/remotes_handouts.tex
with
79 additions
and
4 deletions
remotes/remotes.tex
+
3
−
4
View file @
8dfd0d8f
...
...
@@ -297,8 +297,6 @@ $ git pull ==> $ git fetch origin
\end
{
itemize
}
\end
{
frame
}
% todo: create gitlab project, clone gitlab project
\section
{
Questions?
}
\lastpagetemplate
\begin
{
frame
}
...
...
@@ -311,9 +309,10 @@ $ git pull ==> $ git fetch origin
Zuotian Tatum
% https://www.atlassian.com/git
\end
{
center
}
\vfill
\permfoot
{
http:
//
git
-
scm.com
/
book
}
\\
\permfoot
{
https:
//
www.atlassian.com
/
git
}
\end
{
frame
}
\end
{
document
}
This diff is collapsed.
Click to expand it.
remotes/remotes_handouts.tex
0 → 100644
+
76
−
0
View file @
8dfd0d8f
\documentclass
{
article
}
\usepackage
{
fullpage
}
\frenchspacing
\setlength
{
\parindent
}{
0pt
}
\pagestyle
{
empty
}
\begin{document}
\begin{center}
{
\bf
Git Introduction Course
}
Git and remote repositories practical.
\end{center}
\bigskip
\subsubsection*
{
Inspect the commit graph.
}
We'll work from the repository you created in the previous practical.
\begin{itemize}
\item
\emph
{
Question:
}
What is you current branch and what is the hash of
the commit it points to?
\item
\emph
{
Question:
}
What does the commit graph of you repository look
like?
\end{itemize}
\emph
{
Hint:
}
Use
\texttt
{
git log
}
with the appropriate arguments.
\bigskip
\subsubsection*
{
Implement a feature in a new branch.
}
Let's do some real work (e.g., add some documentation to the project).
\bigskip
Start by creating a branch for your work (give it a descriptive name) and
switch to it.
\begin{itemize}
\item
\emph
{
Question:
}
What branches are there now and what are the commits
they point to?
\end{itemize}
\bigskip
Implement your feature (e.g. write documentation) and commit your changes.
\begin{itemize}
\item
\emph
{
Question:
}
What does the commit graph of you repository look
like now?
\end{itemize}
\bigskip
\subsubsection*
{
Merge your feature.
}
Of course we want this nice feature in our
\texttt
{
master
}
branch.
\bigskip
\begin{itemize}
\item
\emph
{
Question:
}
If you want to merge branch
\texttt
{
B
}
into branch
\texttt
{
A
}
, what should be your current branch?
\end{itemize}
\bigskip
Merge your feature branch into
\texttt
{
master
}
.
\begin{itemize}
\item
\emph
{
Question:
}
What does the commit graph of you repository look
like now?
\end{itemize}
\bigskip
Since you merged it, you can now delete the feature branch.
\end{document}
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