Commit 8331c471 authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Added handouts for the introduction practical.

parent 65bf3f93
\documentclass{article}
\usepackage{fullpage}
\usepackage{listings}
\frenchspacing
\setlength{\parindent}{0pt}
\pagestyle{empty}
\begin{document}
\begin{center}
{\bf Git Introduction Course}
Git Introduction practical.
\end{center}
\bigskip
\subsubsection*{Local configuration.}
First, let Git know what your name and e-mail address is:
\begin{lstlisting}
$ git config --global user.name "<Your Name>"
$ git config --global user.email "<name@lumc.nl>"
\end{lstlisting}
\bigskip
Check whether you have an ssh key:
\begin{lstlisting}
$ cat ~/.ssh/id_rsa.pub
\end{lstlisting}
\bigskip
If not, make one:
\begin{lstlisting}
$ ssh-keygen
Enter file in which to save the key (/home/<username>/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
\end{lstlisting}
You can leave all fields blank.
\subsubsection*{Remote configuration.}
Open \texttt{https://git.lumc.nl} in your browser.
\bigskip
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''.
\bigskip
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. Click the
``Add Public Key'' button.
Give your key a title (e.g., ``Course Laptop'').
Copy your ssh key to the key field (see the \texttt{cat} command above).
\end{document}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment