Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git-seminar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
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
Scientific Computing
education
git-seminar
Commits
46b0c48e
Verified
Commit
46b0c48e
authored
6 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
removes outdated overview and course files
parent
79d35c69
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
git-course.html
+0
-350
0 additions, 350 deletions
git-course.html
overview.md
+0
-23
0 additions, 23 deletions
overview.md
with
0 additions
and
373 deletions
git-course.html
deleted
100644 → 0
+
0
−
350
View file @
79d35c69
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"author"
content=
"Christian Krause"
/>
<meta
name=
"dcterms.date"
content=
"2015-06-15"
/>
<title>
Git Workshop
</title>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
>
<link
rel=
"stylesheet"
href=
"reveal.js/css/reveal.css"
/>
<style
type=
"text/css"
>code
{
white-space
:
pre
;}
</style>
<link
rel=
"stylesheet"
href=
"reveal.js/css/theme/black.css"
id=
"theme"
/>
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if
(
window
.
location
.
search
.
match
(
/print-pdf/gi
)
)
{
var
link
=
document
.
createElement
(
'
link
'
);
link
.
rel
=
'
stylesheet
'
;
link
.
type
=
'
text/css
'
;
link
.
href
=
'
reveal.js/css/print/pdf.css
'
;
document
.
getElementsByTagName
(
'
head
'
)[
0
].
appendChild
(
link
);
}
</script>
<!--[if lt IE 9]>
<script src="reveal.js/lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div
class=
"reveal"
>
<div
class=
"slides"
>
<section>
<h1
class=
"title"
>
Git Workshop
</h1>
<h3
class=
"author"
>
Dirk Sarpe
&
Christian Krause
</h3>
<aside
class=
"notes"
>
<ul>
<li>
if you have questions ask them right away
</li>
</ul>
</aside>
</section>
<section
id=
"poll-why-are-you-here"
class=
"titleslide slide level1"
data-markdown
>
## Poll
# Why are you here?
Note:
- Someone (like us) told you it ~~might be~~ **is** useful.
- You never took the time to really learn it.
- You already know and use it, want to show off / learn new tricks.
- Somebody forced you to come here.
- You wanted to get away from your desk for once and maybe take a nap.
</section>
<section
id=
"outline"
class=
"titleslide slide level1"
data-markdown
>
# Outline
1. Intro
2. Git Commands
3. GitLab / GitHub
4. Workflows
Note:
- jeder Block ~ 1.5h
- insgesamt 2h mit Pause
- 8h - ein ganzer Tag git
- ein-satz-beschreibungen zu den abschnitten
- 0. why vcs, why git, getting started with git
- 1. git basics
- 2. web collaboration tools
- 3. how to collaborate in organized manner
</section>
<section>
<section
class=
"titleslide slide level1"
data-markdown
>
## Block 1
# Introduction
Note:
- quickly talk about block outline
- why vcs? why git?
- installation git client
- setup GitLab / GitHub accounts
- getting started with git (try git)
</section>
<section
class=
"slide level2"
data-markdown
>
### Have you ever seen this?

Note:
- Dirk erklärt seine mess
- wouldn't it be nicer to have
</section>
<section
class=
"slide level2"
data-markdown
>
### wouldn't it be nicer to have
# version control
```
Dirk Sarpe 14 minutes ago fix reference
Dirk Sarpe 5 days ago adapt figures to nature
Christian Krause 6 days ago add figure captions
Dirk Sarpe 7 weeks ago adds mean values to analysis
Christian Krause 7 weeks ago adds abstract
```
Note:
- git log --pretty=format'%an %ar %s'
- and as you can see not only for source code
</section>
<section
class=
"slide level2"
data-markdown
>
## have you ever ...
- review history (see diff)
- wanted to go back in time
- maintain multiple versions
- hint: for different journals
- try things out without breaking what works
Note:
-
</section>
<section
class=
"slide level2"
data-markdown
>
## have you ever ...
- collaborate
- who made that error
- see project progress
- lost code (no backup)
Note:
-
</section>
<section
class=
"slide level2"
data-markdown
>
# yes?
Note:
-
</section>
<section
class=
"slide level2"
data-markdown
>
# use vcs!
Note:
-
</section>
</section>
<section>
<section
class=
"titleslide slide level1"
data-markdown
>
## Block 1
# git
Note:
-
</section>
<section
class=
"titleslide slide level1"
data-markdown
>

Note:
-
</section>
<section
class=
"titleslide slide level1"
data-markdown
>

Note:
-
</section>
<section
class=
"titleslide slide level1"
data-markdown
>

Note:
-
</section>
<section
class=
"titleslide slide level1"
data-markdown
>
## what is git? (2nd try)
### seriously
# TODO image gitk all, visual representation of git parent child tree with remotes,
tags, good commit messages, etc. mit local change der remote noch nicht da ist
Note:
- am bild dvcs erklären!
</section>
<section
class=
"slide level2"
data-markdown
>

Note:
-
</section>
<section
class=
"slide level2"
data-markdown
>
## Why do we all use git?
#### non-technical
- any workflow
- collaboration
- experimentation
- undo mistakes
- state of the art (best tool for the job)
- all the cool kids do it
Note:
-
</section>
<section
class=
"slide level2"
data-markdown
>
## Why do we all use git?
#### technical
- never lose data (not just remote but also file integrity)
- easy conflict resolution
- local (your own copy of everything)
- implies speedy gonzales
Note:
-
</section>
</section>
</section>
<section>
<section
id=
"prereq"
class=
"titleslide slide level1"
data-markdown
>
### Block 1
## Git Demo
Note:
- vorher fragen, wer alles client braucht und noch accounts braucht, damit wir wissen,
wieviel zeit wir uns für try git nehmen können
- config
- init
- git add foo bar
- git commit -m 'foo bar'
- prima
</section>
</section>
<section>
<section
id=
"prereq"
class=
"titleslide slide level1"
data-markdown
>
### Block 1
## Checking Prerequisites
- GitHub / GitLab account
- local git client installation
- bonus: your own project without VCS
Note:
- wenn git client selbst nicht aufsetzen kann, dann bitte halbe stunde früher
- registration to the course
- git client includes your own notebook
</section>
</section>
<section
class=
"slide level2"
data-markdown
>
##
-
Note:
-
</section>
</section>
<section>
<section
class=
"titleslide slide level1"
data-markdown
>
# VCS for me
-
Note:
-
</section>
<section
class=
"slide level2"
data-markdown
>
##
-
Note:
-
</section>
</section>
<section>
<section
class=
"titleslide slide level1"
data-markdown
>
#
-
Note:
-
</section>
<section
class=
"slide level2"
data-markdown
>
##
-
Note:
-
</section>
</section>
<section
id=
"eof"
data-background=
"img/trex.png"
><h1>
EOF
</h1></section>
</div>
</div>
<script
src=
"reveal.js/lib/js/head.min.js"
></script>
<script
src=
"reveal.js/js/reveal.js"
></script>
<script>
Reveal
.
initialize
({
controls
:
true
,
progress
:
true
,
history
:
true
,
center
:
true
,
maxScale
:
1.5
,
slideNumber
:
false
,
theme
:
Reveal
.
getQueryHash
().
theme
,
transition
:
Reveal
.
getQueryHash
().
transition
||
'
default
'
,
dependencies
:
[
{
src
:
'
reveal.js/lib/js/classList.js
'
,
condition
:
function
()
{
return
!
document
.
body
.
classList
;
}
},
{
src
:
'
reveal.js/plugin/zoom-js/zoom.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
body
.
classList
;
}
},
{
src
:
'
reveal.js/plugin/notes/notes.js
'
,
async
:
true
,
condition
:
function
()
{
return
!!
document
.
body
.
classList
;
}
},
{
src
:
'
reveal.js/plugin/markdown/marked.js
'
,
condition
:
function
()
{
return
!!
document
.
querySelector
(
'
[data-markdown]
'
);
}
},
{
src
:
'
reveal.js/plugin/markdown/markdown.js
'
,
condition
:
function
()
{
return
!!
document
.
querySelector
(
'
[data-markdown]
'
);
}
},
{
src
:
'
reveal.js/plugin/highlight/highlight.js
'
,
async
:
true
,
callback
:
function
()
{
hljs
.
initHighlightingOnLoad
();
}
},
]
});
</script>
</body>
</html>
This diff is collapsed.
Click to expand it.
overview.md
deleted
100644 → 0
+
0
−
23
View file @
79d35c69
Blöcke
======
each block is about 3 hours e.g. 9 - 12 including breaks
0.
Intro
-
Why git?
-
git installation hands on
-
show try git like tutorial on beamer (closed laptops)
-
hands on - created project
-
wrap up hands on
1.
Git Commands
-
working dir - index/stage - repo
2.
GitLab / GitHub
-
project maintanance
-
issues and PRs
-
"easier collaboration"
3.
VCS Workflows
-
how to collaborate in an organized manner
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