@@ -86,4 +86,37 @@ Now make another commit locally and push it to the GitLab server. Verify that
all these changes are now present both on your local machine and on the GitLab
server.
\subsubsection*{Collaboration}
In this practical, you'll work with both your repository and with the repository your neighbour created
during the previous practical. We'll refer to this repository as {\bf N}, and
to your own repository from the previous practical as {\bf Y}. Note that by now both repositories should have a
corresponding GitLab project (a remote repository).
\bigskip
Make sure that your GitLab project \textbf{Y} is private and add your colleague as a member to it as \textbf{Guest}.
\bigskip
Try to \textbf{clone} his or her repository to your local machine. Make sure to do this in a separate directory.
\begin{itemize}
\item\emph{Question:} Was the cloning successful? Try to identify why.
\end{itemize}
Change the role of your neighbour from \textbf{Guest} to \textbf{Developer} and try to \textbf{clone} his repository again once your neighbour made you a \textbf{Developer}.
\bigskip
Edit locally a file from your neighbour \textbf{N} directory, stage it, commit it, and try to \textbf{push}.
\begin{itemize}
\item\emph{Question:} Were you able to push? Try to identify why.
\end{itemize}
Change your neighbour's role in your GitLab project from \textbf{Developer} to \textbf{Master}.
\bigskip
After your neighbour upgraded your role to \textbf{Master} try to push again your changes to his GitLab repository.