Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
git-tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Nilsson
git-tutorial
Commits
70c88fcb
Commit
70c88fcb
authored
10 years ago
by
Administrator
Browse files
Options
Downloads
Patches
Plain Diff
Removed course specifics
parent
0c807d51
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
git-tutorial.tex
+32
-27
32 additions, 27 deletions
git-tutorial.tex
with
32 additions
and
27 deletions
git-tutorial.tex
+
32
−
27
View file @
70c88fcb
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
\usepackage
{
tikz
}
\usepackage
{
tikz
}
\usepackage
{
listings
}
\usepackage
{
listings
}
\title
{
Git Tutorial
\\
\tiny
{
Version: 0.
2
}}
\title
{
Git Tutorial
\\
\tiny
{
Version: 0.
3
}}
\author
{
Anders Nilsson
\\
\author
{
Anders Nilsson
\\
\texttt
{
andersn@control.lth.se
}}
\texttt
{
andersn@control.lth.se
}}
...
@@ -466,35 +466,40 @@ In general, Google is your friend, and there are literally hundreds
...
@@ -466,35 +466,40 @@ In general, Google is your friend, and there are literally hundreds
(if not thousands) of freely available git references, Q
\&
A:s, and
(if not thousands) of freely available git references, Q
\&
A:s, and
tutorials out there.
tutorials out there.
\section
{
FRT090 Specifics
}
%
\section{FRT090 Specifics}
\label
{
sec:frt090
}
%
\label{sec:frt090}
Here follows some specific information for students involved in the
%
Here follows some specific information for students involved in the
project course FRT090.
%
project course FRT090.
\subsubsection*
{
Repositories
}
%
\subsubsection*{Repositories}
We have set up master repositories for you to at the department. To
% At the department we are running an instance of \emph{Gitlab}
create a local clone you write something similar to:
% (\texttt{https://about.gitlab.com/}, a web-based system used for
\begin{lstlisting}
% administering git repositories. We will set up
andersn@stodola: git clone gitolite@git.control.lth.se:frt090-2013-grupp-A
Cloning into 'frt090-2013-grupp-A'...
warning: You appear to have cloned an empty repository.
% We have set up master repositories for you to at the department. To
\end{lstlisting}
% create a local clone you write something similar to:
Just replace ``A'' with your gruoup denomination. You should now have
% \begin{lstlisting}
an empty (except for .git) directory called
% andersn@stodola: git clone gitolite@git.control.lth.se:frt090-2013-grupp-A
\verb
|
frt090-2013-grupp-A
|
.
% Cloning into 'frt090-2013-grupp-A'...
% warning: You appear to have cloned an empty repository.
\subsubsection*
{
ssh problems
}
% \end{lstlisting}
% Just replace ``A'' with your gruoup denomination. You should now have
If you want to be able to use more than one user account, for example
% an empty (except for .git) directory called
you want to access the master repository both from computers @control
% \verb|frt090-2013-grupp-A|.
and from your private laptop, you should make sure to use the same ssh
key pair on all user accounts. Otherwise you will not be allowed
% \subsubsection*{ssh problems}
access. You do this by copying
\emph
{
both
}
\footnote
{
Well, you only
\emph
{
need
}
to copy the
\emph
{
private
}
key, but it does not really
% If you want to be able to use more than one user account, for example
make sense to not also bring with you the public part.
}
key files to
% you want to access the master repository both from computers @control
the other user account you want to use.
% and from your private laptop, you should make sure to use the same ssh
% key pair on all user accounts. Otherwise you will not be allowed
% access. You do this by copying \emph{both}\footnote{Well, you only
% \emph{need} to copy the \emph{private} key, but it does not really
% make sense to not also bring with you the public part.} key files to
% the other user account you want to use.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment