From 8331c4716b89f171f7faf2c67fd4158732b0ff3e Mon Sep 17 00:00:00 2001 From: "J.F.J. Laros" <j.f.j.laros@lumc.nl> Date: Sun, 13 Oct 2013 20:25:33 +0200 Subject: [PATCH] Added handouts for the introduction practical. --- introduction/introduction_handouts.tex | 61 ++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 introduction/introduction_handouts.tex diff --git a/introduction/introduction_handouts.tex b/introduction/introduction_handouts.tex new file mode 100644 index 0000000..d49f76c --- /dev/null +++ b/introduction/introduction_handouts.tex @@ -0,0 +1,61 @@ +\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} -- GitLab