Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
courses
Git course
Commits
a83caf38
Commit
a83caf38
authored
Aug 28, 2017
by
jkvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the remotes lecture for 2017
parent
3b7a23c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
remotes/remotes.tex
remotes/remotes.tex
+10
-9
shared/shared.tex
shared/shared.tex
+1
-1
No files found.
remotes/remotes.tex
View file @
a83caf38
...
...
@@ -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}
...
...
shared/shared.tex
View file @
a83caf38
\providecommand
{
\courseTitle
}{
Code and data management with Git
}
\providecommand
{
\myDate
}{
25
-0
4
-1
6
}
\providecommand
{
\myDate
}{
06
-0
9
-1
7
}
\providecommand
{
\acknowledgements
}{
Martijn Vermaat
\\
Wibowo Arindrarto
\\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment