Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
courses
Git course
Commits
fcdda354
Commit
fcdda354
authored
Nov 30, 2015
by
Laros
Browse files
Updated introduction lecture.
parent
c8b48c76
Changes
3
Hide whitespace changes
Inline
Side-by-side
introduction/demonstration.tex
0 → 100644
View file @
fcdda354
\documentclass
{
article
}
\usepackage
{
fullpage
}
\usepackage
{
listings
}
\frenchspacing
\setlength
{
\parindent
}{
0pt
}
\pagestyle
{
empty
}
\begin{document}
\begin{center}
{
\bf
Git Introduction Course
}
GitLab demonstration.
\end{center}
\bigskip
\subsubsection*
{
Logging in
}
\begin{enumerate}
\item
Go to:
\texttt
{
https://git.lumc.nl
}
\item
``LDAP'' login is default, for people that do not have an LUMC account,
use ``Standard''.
\end{enumerate}
\subsubsection*
{
Landing page
}
We see a list of project that you are member of.
\subsubsection*
{
Profile Settings
}
Show the following items:
\begin{enumerate}
\item
Profile Settings.
\item
Notifications.
\begin{itemize}
\item
Global notification settings.
\item
Settings per group.
\item
Settings per project.
\end{itemize}
\item
SSH Keys.
\begin{itemize}
\item
Keys are linked to a user and a
\emph
{
machine
}
.
\end{itemize}
\item
Preferences.
\end{enumerate}
\subsubsection*
{
Projects
}
Show the following items:
\begin{enumerate}
\item
Search projects on the landing page.
\end{enumerate}
\end{document}
introduction/introduction.tex
View file @
fcdda354
...
...
@@ -2,7 +2,7 @@
\title
{
Introduction to Version Control
}
\providecommand
{
\myConference
}{
Git course
}
\providecommand
{
\myDate
}{
Mon
day,
Octo
ber 1
4
, 201
3
}
\providecommand
{
\myDate
}{
Tues
day,
Decem
ber 1, 201
5
}
\author
{
Jeroen F. J. Laros
}
\providecommand
{
\myGroup
}{
Leiden Genome Technology Center
}
\providecommand
{
\myDepartment
}{
Department of Human Genetics
}
...
...
@@ -190,7 +190,11 @@
\end{itemize}
\vfill
\permfoot
{
https://github.com/
}
\permfoot
{
\url
{
https://github.com/
}}
\end{pframe}
\section
{
GitLab demonstration
}
\begin{pframe}
\end{pframe}
\section
{
Practical
}
...
...
@@ -201,15 +205,9 @@
\item
Create and configure a user account on the GitLab server.
\item
Upload an
\bt
{
ssh-key
}
to work with Git.
\end{itemize}
\bigskip
Or alternatively, if you can not access the internal network:
\begin{itemize}
\item
Use
\bt
{
https
}
to work with GitLab.
\end{itemize}
\vfill
\permfoot
{
https://git.lumc.nl/
}
\permfoot
{
\url
{
https://git.lumc.nl/
}
}
\end{pframe}
\section
{
Questions?
}
...
...
@@ -224,10 +222,12 @@
Wibowo Arindrarto
Szymon Kie
{
\l
}
basa
Zuotian Tatum
\end{center}
\vfill
\permfoot
{
https://
humgenprojects
.lumc.nl/
trac/
humgen
projects/wiki/git
}
\permfoot
{
\url
{
https://
git
.lumc.nl/humgen
/gitcourse
}
}
\end{pframe}
\end{document}
introduction/introduction_handouts.tex
View file @
fcdda354
...
...
@@ -30,17 +30,7 @@ for your repositories:
cd ~
/
projects
\end
{
lstlisting
}
\newcommand
{
\generalconfiguration
}{
You can now edit your profile by clicking on the ``profile'' button
(
pictogram of a torso
)
, located on the top right of your screen. On mouse
over, a text balloon will pop up, saying ``Profile settings''.
\medskip
Check your name and e
-
mail address
(
you probably want to change your name
)
.
\bigskip
}
\subsubsection
*
{
Remote configuration for LUMC participants
}
\subsubsection
*
{
Remote configuration
}
Check whether you have an ssh key:
\begin
{
lstlisting
}
$
cat ~/.ssh/id
_
rsa.pub
...
...
@@ -60,13 +50,18 @@ You can leave all fields blank.
Open
\texttt
{
https:
//
git.lumc.nl
}
in your browser.
\medskip
In the authentication form, use your
LUMC
username and password
(
LDAP login
)
.
In the authentication form, use your username and password.
\bigskip
\generalconfiguration
You can now edit your profile by clicking on the ``Profile Settings'' item in
the menu on the left.
\medskip
Check your name and e
-
mail address
(
you probably want to change your name
)
.
\bigskip
To be able to upload new versions, you need to add your ssh key.
Open the ``SSH
Keys''
tab
and click the ``Add SSH Key'' button.
To be able to upload new versions, you need to add your ssh key.
Click the
``SSH
Keys''
item
and click the ``Add SSH Key'' button.
\medskip
Give your key a title
(
e.g., ``Course laptop''
)
.
...
...
@@ -74,27 +69,4 @@ Give your key a title (e.g., ``Course laptop'').
Copy your ssh key to the key field
(
see the
\texttt
{
cat
}
command above
)
.
\subsubsection
*
{
Remote configuration for other participants
}
Open
\texttt
{
https:
//
git.lumc.nl
}
in your browser.
\bigskip
In the authentication form, use the provided username and password
(
Standard
login
)
.
\bigskip
\generalconfiguration
Open
\texttt
{
https:
//
git.lumc.nl
/
humgen
/
gitcourse
}
in your browser.
\bigskip
On the right, you see a text box containing the string
\texttt
{
git@git.lumc.nl:humgen
/
gitcourse.git
}
, notice the ``SSH'' button is
selected. During the course we will ask you to use this protocol
(
ssh
)
for
remote repositories. Since we do not have access to the LUMC using this
protocol, we are going to use an other protocol.
\bigskip
Click the ``HTTPS'' button, and you will see the string
\texttt
{
https:
//
git.lumc.nl
/
humgen
/
gitcourse.git
}
. We can use this protocol
(
https
)
for remote repositories.
\end
{
document
}
Write
Preview
Supports
Markdown
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