Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Git course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
courses
Git course
Commits
8331c471
Commit
8331c471
authored
11 years ago
by
Laros
Browse files
Options
Downloads
Patches
Plain Diff
Added handouts for the introduction practical.
parent
65bf3f93
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
introduction/introduction_handouts.tex
+61
-0
61 additions, 0 deletions
introduction/introduction_handouts.tex
with
61 additions
and
0 deletions
introduction/introduction_handouts.tex
0 → 100644
+
61
−
0
View file @
8331c471
\documentclass
{
article
}
\usepackage
{
fullpage
}
\usepackage
{
listings
}
\frenchspacing
\setlength
{
\parindent
}{
0pt
}
\pagestyle
{
empty
}
\begin{document}
\begin{center}
{
\bf
Git Introduction Course
}
Git Introduction practical.
\end{center}
\bigskip
\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 "<name@lumc.nl>"
\end{lstlisting}
\bigskip
Check whether you have an ssh key:
\begin{lstlisting}
$
cat ~
/
.ssh
/
id
_
rsa.pub
\end
{
lstlisting
}
\bigskip
If not, make one:
\begin
{
lstlisting
}
$
ssh-keygen
Enter file in which to save the key (/home/<username>/.ssh/id
_
rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
\end{lstlisting}
You can leave all fields blank.
\subsubsection*
{
Remote configuration.
}
Open
\texttt
{
https://git.lumc.nl
}
in your browser.
\bigskip
In the authentication form, use your LUMC username and password (LDAP login).
\bigskip
You can now edit your profile by clicking on the ``profile'' button (pictogram
of a torso), located on the top right of your screen. On mouse over, a text
balloon will pop up, saying ``My profile''.
\bigskip
Check your name and e-mail address (you probably want to change your name).
\bigskip
To be able to upload new versions, you need to add your ssh key. Click the
``Add Public Key'' button.
Give your key a title (e.g., ``Course Laptop'').
Copy your ssh key to the key field (see the
\texttt
{
cat
}
command above).
\end{document}
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