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
47ac8375
Commit
47ac8375
authored
Jun 20, 2014
by
Laros
Browse files
Added instructions for non LUMC participants.
parent
d0537ebd
Changes
2
Show whitespace changes
Inline
Side-by-side
introduction/introduction.tex
View file @
47ac8375
...
...
@@ -207,6 +207,12 @@
\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/
}
...
...
introduction/introduction_handouts.tex
View file @
47ac8375
...
...
@@ -14,7 +14,7 @@ Git Introduction practical.
\end{center}
\bigskip
\subsubsection*
{
Local configuration
.
}
\subsubsection*
{
Local configuration
}
First, let Git know what your name and e-mail address is:
\begin{lstlisting}
$
git config
--
global user.name "<Your Name>"
...
...
@@ -23,6 +23,24 @@ First, let Git know what your name and e-mail address is:
\end
{
lstlisting
}
\bigskip
For the other practicals, it is convenient to have a
\texttt
{
projects
}
folder
for your repositories:
\begin
{
lstlisting
}
mkdir ~
/
projects
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
}
Check whether you have an ssh key:
\begin
{
lstlisting
}
$
cat ~/.ssh/id
_
rsa.pub
...
...
@@ -37,26 +55,46 @@ If not, make one:
Enter same passphrase again:
\end
{
lstlisting
}
You can leave all fields blank.
\bigskip
\subsubsection
*
{
Remote configuration.
}
Open
\texttt
{
https:
//
git.lumc.nl
}
in your browser.
\
big
skip
\
med
skip
In the authentication form, use your LUMC username and password
(
LDAP login
)
.
\bigskip
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 ``My profile''.
\generalconfiguration
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.
\medskip
Give your key a title
(
e.g., ``Course laptop''
)
.
\medskip
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
Check your name and e
-
mail address
(
you probably want to change your name
)
.
In the authentication form, use the provided username and password
(
Standard
login
)
.
\bigskip
To be able to upload new versions, you need to add your ssh key. Click the
``Add Public Key'' button.
\generalconfiguration
Give your key a title
(
e.g., ``Course Laptop''
)
.
Open
\texttt
{
https:
//
git.lumc.nl
/
humgen
/
gitcourse
}
in your browser.
\bigskip
Copy your ssh key to the key field
(
see the
\texttt
{
cat
}
command above
)
.
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