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
b7b2fbcb
Unverified
Commit
b7b2fbcb
authored
2 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
notes and highlighting
parent
cc78964b
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
basics.html
+18
-15
18 additions, 15 deletions
basics.html
with
18 additions
and
15 deletions
basics.html
+
18
−
15
View file @
b7b2fbcb
...
@@ -103,6 +103,11 @@
...
@@ -103,6 +103,11 @@
> records changes
> records changes
what, who, when, why
what, who, when, why
note:
- different kinds of version control systems
- for different meta-level things
- git is for text files / source code
</section>
</section>
<section
id=
"intro-about-git"
data-markdown
>
<section
id=
"intro-about-git"
data-markdown
>
...
@@ -125,7 +130,7 @@
...
@@ -125,7 +130,7 @@
<section
id=
"intro-about-christian"
data-markdown
>
<section
id=
"intro-about-christian"
data-markdown
>
## about christian
## about christian
- scientific computing support @ iDiv since 2014
-
[
scientific computing support @ iDiv
](https://www.idiv.de/en/about-idiv/support-for-scientists/scientific-computing.html)
since 2014
- happy git user since 2010
- happy git user since 2010
> There will never be a better version control system than git.
> There will never be a better version control system than git.
...
@@ -153,7 +158,7 @@
...
@@ -153,7 +158,7 @@
<section
id=
"motivation"
data-markdown
>
<section
id=
"motivation"
data-markdown
>
# motivation
# motivation
> Why should
I
use version control?
> Why should
***I***
use version control?
notes:
notes:
- summarize reasons from audience
- summarize reasons from audience
...
@@ -208,11 +213,8 @@
...
@@ -208,11 +213,8 @@
> This text cntains a typo.
> This text cntains a typo.
notes:
notes:
- demo GitLab
- demo **edit** ribbon
- [go to project](https://git.idiv.de/sc/edu/git-seminar)
- change target branch (creates MR) to: **basics/typo**
- check if typo still in master
- edit
- change **target branch** to create merge request
- commit message:
- commit message:
```
```
fixes typo
fixes typo
...
@@ -242,7 +244,7 @@
...
@@ -242,7 +244,7 @@
- enforce **style guide** aka *code formatting*
- enforce **style guide** aka *code formatting*
- ***deployment*** (app store, web server)
- ***deployment*** (app store, web server)
*(see advanced
seminar
)*
*(see advanced)*
notes:
notes:
- buzzwords:
- buzzwords:
...
@@ -577,9 +579,9 @@
...
@@ -577,9 +579,9 @@
notes:
notes:
- users should do this in a terminal with demo by us
- users should do this in a terminal with demo by us
- git stage
git add are the same thing
-
`
git stage
` and `
git add
`
are the same thing
- prefer stage and unstage because the opposite of add is
remove
- prefer
`
stage
`
and
`
unstage
`
because the opposite of
`
add
`
is
and that does something entirely different
`rm`
and that does something entirely different
</section>
</section>
<section
id=
"cli-git-diff-1"
data-markdown
>
<section
id=
"cli-git-diff-1"
data-markdown
>
...
@@ -801,10 +803,11 @@
...
@@ -801,10 +803,11 @@


notes:
notes:
- remotes have names, default to origin
- remotes have names, default to **origin**
- remotes are **full clones**, i.e. entire history
- remotes are usually **full clones**, i.e. entire history, all
- **fetch** is on the box, so you **fetch everything**
commits, all branches
- **fetch** does not integrate branches, i.e. **merge**
- **fetch** edge is on the box, so you fetch **everything**
- **fetch** does not integrate branches, i.e. no **merge**
- **push** and **pull** also **merge** the *tracking* branch
- **push** and **pull** also **merge** the *tracking* branch
</section>
</section>
</section>
</section>
...
...
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