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
a83caf38
Commit
a83caf38
authored
7 years ago
by
jkvis
Browse files
Options
Downloads
Patches
Plain Diff
Updated the remotes lecture for 2017
parent
3b7a23c6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
remotes/remotes.tex
+10
-9
10 additions, 9 deletions
remotes/remotes.tex
shared/shared.tex
+1
-1
1 addition, 1 deletion
shared/shared.tex
with
11 additions
and
10 deletions
remotes/remotes.tex
+
10
−
9
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}
...
...
This diff is collapsed.
Click to expand it.
shared/shared.tex
+
1
−
1
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
\\
...
...
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