Commit a83caf38 authored by jkvis's avatar jkvis

Updated the remotes lecture for 2017

parent 3b7a23c6
......@@ -2,13 +2,14 @@
\input{../shared/shared.tex}
\author{Martijn Vermaat}
\author{Jonathan K. Vis}
\title{\courseTitle}
\providecommand{\mySubTitle}{Git and remote repositories}
\providecommand{\myConference}{\courseTitle}
\providecommand{\myGroup}{}
\providecommand{\myDepartment}{Department of Human Genetics}
\providecommand{\myCenter}{Center for Human and Clinical Genetics}
\providecommand{\myCenter}{}
\providecommand{\date}{6-9-2017}
\usetheme{lumc}
......@@ -64,8 +65,8 @@ gitlab
\begin{lstlisting}[basicstyle=\ttfamily\footnotesize]
$ git remote -v
gitlab https://git.lumc.nl/m.vermaat.hg/tv-series.git (fetch)
gitlab https://git.lumc.nl/m.vermaat.hg/tv-series.git (push)
gitlab https://git.lumc.nl/zorro/tv-series.git (fetch)
gitlab https://git.lumc.nl/zorro/tv-series.git (push)
\end{lstlisting}
\lstinline{-v}: Include remote location.
......@@ -86,8 +87,8 @@ $ git remote add hue 192.168.0.8:docs/tv-series
\begin{lstlisting}[basicstyle=\ttfamily\footnotesize]
$ git remote -v
gitlab https://git.lumc.nl/m.vermaat.hg/tv-series.git (fetch)
gitlab https://git.lumc.nl/m.vermaat.hg/tv-series.git (push)
gitlab https://git.lumc.nl/zorro/tv-series.git (fetch)
gitlab https://git.lumc.nl/zorro/tv-series.git (push)
hue 192.168.0.8:docs/tv-series (fetch)
hue 192.168.0.8:docs/tv-series (push)
\end{lstlisting}
......@@ -172,7 +173,7 @@ To hue.remote:docs/tv-series
Instead of creating repositories using \lstinline{git init}, you can create a
local {\em clone} of an existing (remote) repository.
\begin{lstlisting}[basicstyle=\ttfamily\footnotesize]
$ git clone https://git.lumc.nl/m.vermaat.hg/tv-series.git
$ git clone https://git.lumc.nl/zorro/tv-series.git
Cloning into 'tv-series'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (4/4), done.
......@@ -186,8 +187,8 @@ Unpacking objects: 100% (6/6), done.
\begin{lstlisting}[basicstyle=\ttfamily\footnotesize]
$ cd tv-series/
$ git remote -v
origin https://git.lumc.nl/m.vermaat.hg/tv-series.git (fetch)
origin https://git.lumc.nl/m.vermaat.hg/tv-series.git (push)
origin https://git.lumc.nl/zorro/tv-series.git (fetch)
origin https://git.lumc.nl/zorro/tv-series.git (push)
\end{lstlisting}
\end{pframe}
......
\providecommand{\courseTitle}{Code and data management with Git}
\providecommand{\myDate}{25-04-16}
\providecommand{\myDate}{06-09-17}
\providecommand{\acknowledgements}{
Martijn Vermaat\\
Wibowo Arindrarto\\
......
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