Skip to content

Commit

Permalink
re-order
Browse files Browse the repository at this point in the history
  • Loading branch information
bast committed Aug 25, 2023
1 parent aacc432 commit dfb706a
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions content/motivation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@
```


## Commits: keeping track of changes

We will learn how to keep track of changes first in a terminal ([example
repository](https://github.com/bast/runtest/commits/main/runtest/run.py)):

```{figure} img/git-log-terminal.png
:alt: Screenshot of a git log in terminal
:width: 80%
```

Later also via web interface ([example
repository](https://github.com/bast/runtest/commits/main/runtest/run.py)):

```{figure} img/git-log-github.png
:alt: Screenshot of a git log on GitHub
:width: 80%
:class: with-border
```


## Why do we need to keep track of versions?

Version control is an answer to these questions (do you recognize some of them?):
Expand All @@ -31,26 +51,6 @@ Version control is an answer to these questions (do you recognize some of them?)
- "My laptop is gone. Is my thesis now gone?"


## Commits: keeping track of changes

We will learn how to keep track of changes first in a terminal ([example
repository](https://github.com/bast/runtest/commits/main/runtest/run.py)):

```{figure} img/git-log-terminal.png
:alt: Screenshot of a git log in terminal
:width: 80%
```

Later also via web interface ([example
repository](https://github.com/bast/runtest/commits/main/runtest/run.py)):

```{figure} img/git-log-github.png
:alt: Screenshot of a git log on GitHub
:width: 80%
:class: with-border
```


## Features: roll-back, branching, merging, collaboration

- **Roll-back**: you can always go back to a previous version and compare
Expand Down

0 comments on commit dfb706a

Please sign in to comment.