Skip to content
Snippets Groups Projects
Commit ba8add35 authored by Mihai Lefter's avatar Mihai Lefter
Browse files

Update basics handouts with remote connection info.

parent 03bb4e2f
No related branches found
No related tags found
No related merge requests found
\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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment