From ba8add35d645181b2254443f87ad067b0513f1dc Mon Sep 17 00:00:00 2001 From: mlefter <m.lefter@lumc.nl> Date: Tue, 5 Sep 2017 15:33:59 +0200 Subject: [PATCH] Update basics handouts with remote connection info. --- basics/basics_handouts.tex | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/basics/basics_handouts.tex b/basics/basics_handouts.tex index 5b43970..b6fbc0e 100644 --- a/basics/basics_handouts.tex +++ b/basics/basics_handouts.tex @@ -1,5 +1,7 @@ \documentclass{article} +\usepackage[hidelinks]{hyperref} + \providecommand{\handoutsTitle}{Git Basics} \usepackage{handouts} @@ -8,6 +10,44 @@ \begin{document} \makeHeader +\subsubsection*{Connect to the education server} + +Open \url{http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html} in your browser. +\medskip + +Download and run \href{https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe}{\textbf{putty.exe}. (Alternative binary files, the SSH and Telnet client itself)}. +\medskip + +Introduce the education server IP address \textbf{145.88.35.11} as destination. +\medskip + +Make sure that the \textbf{port number} is set to \textbf{22} and that \textbf{SSH} is selected as \textbf{connection type} and press ``\textbf{Open}'' to start the connection. +\medskip + +Press ``Yes'' if the security alert pops up. +\medskip + +Introduce your provided \textbf{username} and press enter. +\medskip + +Introduce your provided \textbf{password} and press enter. +\medskip + +\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 "your@email.address" + $ cat ~/.gitconfig +\end{lstlisting} +\bigskip + +It is convenient to have a \lstinline{projects} folder for your repositories: +\begin{lstlisting} + mkdir ~/projects + cd ~/projects +\end{lstlisting} + \subsubsection*{Create a repository} First, create an empty directory and use ``\lstinline{git init}'' to make a new repository. -- GitLab