Skip to content
Snippets Groups Projects
Commit e7ec3a47 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'review-part-1' into 'develop'

Review part 1

See merge request !127
parents 5e968981 e38b051f
No related branches found
No related tags found
2 merge requests!129[release] Regular merge of develop,!127Review part 1
Pipeline #57272 passed
Showing
with 26 additions and 17 deletions
*.ai
site/ site/
courses.lcsb.uni.lu courses.lcsb.uni.lu
index.html index.html
......
...@@ -77,10 +77,12 @@ What is the difference between a *fork* and a *branch*? ...@@ -77,10 +77,12 @@ What is the difference between a *fork* and a *branch*?
# How to switch between branches? # How to switch between branches?
<div style="position:absolute;left:10%;top:8em"> <div align="center">
<img src="slides/img/branch_GUI_switch.png" height="500em"/> <img src="slides/img/branch_GUI_switch.png" height="500em"/>
</div> </div>
Why is best practice to branch off from `develop`?
\ No newline at end of file ![bulb](slides/img/bulb.png) Why is it best practice to branch off from `develop`?
\ No newline at end of file
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
<center> <center>
<img src="slides/img/fork.jpg" class="as-is" height="500em"/> <img src="slides/img/fork.jpg" class="as-is" height="500em"/>
</center> </center>
<!--http://www.cndajin.com/data/wls/246/22302193.jpg-->
...@@ -23,8 +22,9 @@ ...@@ -23,8 +22,9 @@
- In general, by default, you can only **read** files in a repository. You **cannot write**. - In general, by default, you can only **read** files in a repository. You **cannot write**.
<div class="fragment"> <div class="fragment">
<img src="slides/img/forking.png" height="400px"> <div align="center">
<img src="slides/img/forking.png" width="80%">
</div>
- You have to work on your **own copy** of the repository in order to make changes. - You have to work on your **own copy** of the repository in order to make changes.
- In other words, you have to work on your own <font color="red">**fork**</font>. - In other words, you have to work on your own <font color="red">**fork**</font>.
......
...@@ -16,7 +16,7 @@ Web-based platforms with **many** features facilitating storing, tracking and co ...@@ -16,7 +16,7 @@ Web-based platforms with **many** features facilitating storing, tracking and co
- Public GitLab: [https://gitlab.com](https://gitlab.com) - Public GitLab: [https://gitlab.com](https://gitlab.com)
- **LCSB** specific: [https://gitlab.lcsb.uni.lu](https://gitlab.lcsb.uni.lu) - **LCSB** specific: [https://gitlab.lcsb.uni.lu](https://gitlab.lcsb.uni.lu)
Another popular platforms: Other popular platforms:
- **GitHub**: [https://github.com](https://github.com) - **GitHub**: [https://github.com](https://github.com)
- **BitBucket**: [https://bitbucket.org](https://bitbucket.org) - **BitBucket**: [https://bitbucket.org](https://bitbucket.org)
- **Gitea**: [https://gitea.io](https://gitea.io) - **Gitea**: [https://gitea.io](https://gitea.io)
......
2022/2022-05-31_git-trilogy-part-1/slides/img/branch_GUI_switch.png

23.1 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/branch_GUI_switch.png

140 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/branch_GUI_switch.png
2022/2022-05-31_git-trilogy-part-1/slides/img/branch_GUI_switch.png
2022/2022-05-31_git-trilogy-part-1/slides/img/branch_GUI_switch.png
2022/2022-05-31_git-trilogy-part-1/slides/img/branch_GUI_switch.png
  • 2-up
  • Swipe
  • Onion skin
2022/2022-05-31_git-trilogy-part-1/slides/img/commit_GUI_web-ide.png

403 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/commit_GUI_web-ide.png

396 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/commit_GUI_web-ide.png
2022/2022-05-31_git-trilogy-part-1/slides/img/commit_GUI_web-ide.png
2022/2022-05-31_git-trilogy-part-1/slides/img/commit_GUI_web-ide.png
2022/2022-05-31_git-trilogy-part-1/slides/img/commit_GUI_web-ide.png
  • 2-up
  • Swipe
  • Onion skin
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit-with-back-arrow.png

64.6 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit-with-back-arrow.png

131 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit-with-back-arrow.png
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit-with-back-arrow.png
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit-with-back-arrow.png
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit-with-back-arrow.png
  • 2-up
  • Swipe
  • Onion skin
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit.png

58.6 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit.png

118 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit.png
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit.png
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit.png
2022/2022-05-31_git-trilogy-part-1/slides/img/fork_branch-diagram-after-commit.png
  • 2-up
  • Swipe
  • Onion skin
2022/2022-05-31_git-trilogy-part-1/slides/img/forking.png

63.1 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/forking.png

125 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/forking.png
2022/2022-05-31_git-trilogy-part-1/slides/img/forking.png
2022/2022-05-31_git-trilogy-part-1/slides/img/forking.png
2022/2022-05-31_git-trilogy-part-1/slides/img/forking.png
  • 2-up
  • Swipe
  • Onion skin
2022/2022-05-31_git-trilogy-part-1/slides/img/forking_detail-with-branches.png

66.9 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/forking_detail-with-branches.png

138 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/forking_detail-with-branches.png
2022/2022-05-31_git-trilogy-part-1/slides/img/forking_detail-with-branches.png
2022/2022-05-31_git-trilogy-part-1/slides/img/forking_detail-with-branches.png
2022/2022-05-31_git-trilogy-part-1/slides/img/forking_detail-with-branches.png
  • 2-up
  • Swipe
  • Onion skin
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_edit-file.png

88.3 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_edit-file.png

468 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_edit-file.png
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_edit-file.png
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_edit-file.png
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_edit-file.png
  • 2-up
  • Swipe
  • Onion skin
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_select-branch.png

28.2 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_select-branch.png

150 KiB | W: | H:

2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_select-branch.png
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_select-branch.png
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_select-branch.png
2022/2022-05-31_git-trilogy-part-1/slides/img/web-ide_select-branch.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -17,12 +17,15 @@ You have to <font color="color:red">merge</font> the branches. ...@@ -17,12 +17,15 @@ You have to <font color="color:red">merge</font> the branches.
# What happened in the background? # What happened in the background?
<div style="position:absolute;top:2em" class="fragment fade-in-then-out" data-fragment-index="1"> <div align="center">
<img src="slides/img/fork_branch-diagram-after-commit.png" height="600px" > <img src="slides/img/fork_branch-diagram-after-commit.png" height="600px" >
</div> </div>
<div style="position:absolute;top:2em" class="fragment fade-in-then-out" data-fragment-index="1">
# What happened in the background?
<div align="center">
<img src="slides/img/fork_branch-diagram-after-commit-with-back-arrow.png" height="600px" > <img src="slides/img/fork_branch-diagram-after-commit-with-back-arrow.png" height="600px" >
</div> </div>
......
# Why use a version control system? # Why use a version control system?
Basic feature: Basic features:
* Ability to recover old versions * Maintain different versions of documents or code
* Ability to recover previous versions
* Track all changes to a document or code
<div style="position:absolute; left:50%"> <div style="position:absolute; left:50%">
<img src="slides/img/version-history_OneDrive.png" height="650px"> <img src="slides/img/version-history_OneDrive.png" height="650px">
</div> </div>
Common tools you are already using supporting "version control": Common tools you are already using supporting "version control":
- Owncloud
- OneDrive * Owncloud
- ... * OneDrive
* ...
From the list of files, it is clear *who* changed which file and *when*. From the list of files, it is clear *who* changed which file and *when*.
......
...@@ -19,11 +19,11 @@ To change content of a file: ...@@ -19,11 +19,11 @@ To change content of a file:
<div style="position:absolute;left:30%;top:1em" class="fragment fade-in-then-out" data-fragment-index="1"> <div style="position:absolute;left:30%;top:1em" class="fragment fade-in-then-out" data-fragment-index="1">
<img src="slides/img/commit_GUI_web-ide.png" width="90%" > <img src="slides/img/commit_GUI_web-ide.png" width="95%" >
</div> </div>
<div style="position:absolute;left:40%;top:1em" class="fragment fade-in-then-out" data-fragment-index="2"> <div style="position:absolute;left:40%;top:1em" class="fragment fade-in-then-out" data-fragment-index="2">
<img src="slides/img/web-ide_select-branch.png" width="90%" > <img src="slides/img/web-ide_select-branch.png" width="60%" >
</div> </div>
<div style="position:absolute;left:33%;top:1em" class="fragment fade-in-then-out" data-fragment-index="3"> <div style="position:absolute;left:33%;top:1em" class="fragment fade-in-then-out" data-fragment-index="3">
......
...@@ -37,8 +37,8 @@ Linus Torvalds (2007-06-14) ...@@ -37,8 +37,8 @@ Linus Torvalds (2007-06-14)
* Annotate each change with description * Annotate each change with description
* **Backtrack** (if necessary) and undo unwanted changes * **Backtrack** (if necessary) and undo unwanted changes
* Contribute content in parallel * Contribute content in parallel
* Easily **add contributions** of your collaborators to the any version * Easily **add contributions** of your collaborators to any version
</div>
note: note:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment