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
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Maximilian Konzack
git-seminar
Commits
4a150d18
Verified
Commit
4a150d18
authored
7 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
wip
parent
cf6bf757
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
basics.html
+174
-0
174 additions, 0 deletions
basics.html
img/gitk-pretty-history.png
+0
-0
0 additions, 0 deletions
img/gitk-pretty-history.png
with
174 additions
and
0 deletions
basics.html
0 → 100644
+
174
−
0
View file @
4a150d18
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"author"
content=
"Dirk Sarpe and Christian Krause"
/>
<title>
git basics
</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"
/>
<link
rel=
"stylesheet"
href=
"reveal.js/lib/css/zenburn.css"
/>
<style
type=
"text/css"
>code
{
white-space
:
pre
;}
</style>
<link
rel=
"stylesheet"
href=
"reveal.js/css/theme/black.css"
id=
"theme"
/>
</head>
<body>
<!-- start of slides -->
<div
class=
"reveal"
>
<div
class=
"slides"
>
<section
id=
"title"
data-markdown
>
# git basics
note:
- if you have questions ask them right away
- hand out cheat sheets
</section>
<section>
<section
id=
"intro"
data-markdown
>
# intro
</section>
<section
id=
"motivation"
data-markdown
>
## motivation
> Why should I use git?
- boss
- project version history
- project management
- show scenarios
</section>
<section
id=
"avoid"
data-markdown
>
## motivation
### avoid this

</section>
<section
id=
"avoid"
data-markdown
>
## motivation
### want this

</section>
<section
id=
"audience"
data-markdown
>
## audience
- beginner-level git users
</section>
<section
id=
"goals"
data-markdown
>
## goals
- get you started
</section>
<section
id=
"cheatsheet"
data-markdown
>
# [cheat sheet](https://idiv-biodiversity.github.io/git-cheat-sheet/)
</section>
</section>
<section>
<section
id=
"start"
data-markdown
>
# let's get started
</section>
<section
id=
"cli"
data-markdown
>
## command line
- Ellen Ripley uses command line
- Chuck Norris uses command line
</section>
<section
id=
"os"
data-markdown
>
## os packages
**Linux:** bash and git
**Mac:** bash and git
**Windows:** cmder
</section>
<section
id=
"setup"
data-markdown
>
## setup
```bash
# identity
git config --global user.name 'Jane Doe'
git config --global user.email 'jane.doe@feminism.org'
# colors
git config --global color.ui auto
# aliases
git config --global alias.unstage 'reset HEAD --'
git config --global alias.lol \
'log --graph --decorate --oneline --all'
```
</section>
<section
id=
"demo"
data-markdown
>
## my project
demo
notes:
- git init hello
- README.md
- LICENSE
- TODO really talk about licenses? I should, because it's
important, but it takes time away from other things ...
- src/hello.py
</section>
</section>
<section
id=
"webapps"
data-markdown
>
## web apps
- GitHub demo
- GitLab demo
</section>
<section
id=
"eof"
data-background=
"img/trex.png"
>
<h1>
EOF
</h1>
</section>
</div>
</div>
<!-- end of slides -->
<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
,
slideNumber
:
true
,
history
:
true
,
center
:
true
,
keyboard
:
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.
img/gitk-pretty-history.png
0 → 100644
+
0
−
0
View file @
4a150d18
44.3 KiB
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