diff --git a/remotes/remotes_handouts.tex b/remotes/remotes_handouts.tex index a0580824019eb7d01903761cbcb2be49d2814ddf..fa3ff524c0c22af7d010eaa10aa574800c8c3cfc 100644 --- a/remotes/remotes_handouts.tex +++ b/remotes/remotes_handouts.tex @@ -13,12 +13,30 @@ Git and remote repositories practical. \end{center} \bigskip +\subsubsection*{Some notes about using GitLab.} +Please take the following into account with respect to our GitLab server: +\begin{itemize} + \item You can login to GitLab using your LUMC account. + \item If you don't have an LUMC account, ask us to create a GitLab account + for you and select {\em Standard} instead of {\em LDAP} on the login + page. + \item Due to the LUMC firewall, accessing repositories using SSH is only + possible from the LUMC network (and not from the LUMC gast network). As an + alternative, you can always use HTTPS but the downside is that you have to + keep repeating your password. + \item Our GitLab server is very similar (in fact, it is a clone) to the + popular online GitHub (\texttt{https://github.com}) and Bitbucket + (\texttt{https://bitbucket.org}) services. +\end{itemize} + +\bigskip + \subsubsection*{Add your repository to GitLab.} Now you have a nice repository, of course you want to share it on GitLab. \bigskip -Go to GitLab and create a new project. +Go to GitLab (\texttt{https://git.lumc.nl}) and create a new project. \begin{itemize} \item \emph{Question:} What is the repository URL for your new project? @@ -26,7 +44,7 @@ Go to GitLab and create a new project. \bigskip -Add a remote for your GitLab repository. +Add the GitLab repository as a remote to your local repository. \bigskip @@ -37,6 +55,7 @@ Push your branch(es) to GitLab. interface? \end{itemize} +\bigskip \subsubsection*{Clone an existing repository from GitLab.} There already are some nice repositories on GitLab! Pick one (e.g., from the @@ -52,8 +71,9 @@ Create a local clone of the repository you picked. branches exist? \end{itemize} +\bigskip -\subsubsection*{For experts: create a merge request.} +\subsubsection*{Create a merge request.} If you are interested, here are some additional GitLab features you can use. Fork an existing project, implement a feature, and submit a merge request.