Skip to content
Snippets Groups Projects
Unverified Commit b7b2fbcb authored by ck85nori's avatar ck85nori :railway_track:
Browse files

notes and highlighting

parent cc78964b
No related branches found
No related tags found
No related merge requests found
...@@ -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 @@
![remotes](img/git-remote-solo.svg) ![remotes](img/git-remote-solo.svg)
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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment