Skip to content
Snippets Groups Projects
Commit e41ccfb2 authored by Sylvain Arreckx's avatar Sylvain Arreckx
Browse files

New why use git section and polish other slides.

parent 6001317b
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Branch-off within the same repository in order to stay safe! Branch-off within the same repository in order to stay safe!
The master branch: <br><br>The master branch
<img src="img/branch-master.png" class="branch-master" /> <img src="img/branch-master.png" class="branch-master" />
...@@ -23,7 +23,7 @@ $ git push ...@@ -23,7 +23,7 @@ $ git push
``` ```
If you do that, `git` will complain If you do that, `git` might complain
```bash ```bash
fatal: The current branch matrix_vect_mult_myName has no upstream branch. fatal: The current branch matrix_vect_mult_myName has no upstream branch.
To push the current branch and set the remote as upstream, use To push the current branch and set the remote as upstream, use
......
...@@ -52,7 +52,7 @@ Then, uncomment the line ...@@ -52,7 +52,7 @@ Then, uncomment the line
<br> <br>
Save and rename the file by adding your name Save and rename the file by adding your name
```bash ```bash
mv firstCommit/addTwoNumbers.m firstCommit/addTwoNumbers_myName.m $ mv firstCommit/addTwoNumbers.m firstCommit/addTwoNumbers_myName.m
``` ```
......
...@@ -23,6 +23,12 @@ ...@@ -23,6 +23,12 @@
"data-background": "../img/whiteBG.jpg" "data-background": "../img/whiteBG.jpg"
} }
}, },
{
"filename": "why_use_git.md",
"attr": {
"data-background": "../img/whiteBG.jpg"
}
},
{ {
"filename": "installation.md", "filename": "installation.md",
"attr": { "attr": {
...@@ -64,5 +70,11 @@ ...@@ -64,5 +70,11 @@
"attr": { "attr": {
"data-background": "../img/whiteBG.jpg" "data-background": "../img/whiteBG.jpg"
} }
},
{
"filename": "ready.md",
"attr": {
"data-background": "../img/whiteBG.jpg"
}
} }
] ]
# Ready for a practice!!!
...@@ -6,20 +6,3 @@ ...@@ -6,20 +6,3 @@
### Cheat sheet ### Cheat sheet
[Web](http://rogerdudler.github.io/git-guide/index.html) or [PDF](http://rogerdudler.github.io/git-guide/files/git_cheat_sheet.pdf) [Web](http://rogerdudler.github.io/git-guide/index.html) or [PDF](http://rogerdudler.github.io/git-guide/files/git_cheat_sheet.pdf)
## Acknowledgement
<table style="text-align:center; width:500px;
position:fixed;
margin-left:-250px; /* half of width */
left:50%;">
<tr>
<th>![](https://avatars0.githubusercontent.com/u/20812112?v=3&s=220)</th>
<th>![](https://avatars1.githubusercontent.com/u/816318?v=3&s=220)</th>
</tr>
<tr>
<th>Laurent Heirendt</th>
<th>Sylvain Arreckx</th>
</tr>
</table>
## What is `git`? ## What is `git`?
![](img/git_definition.png) <!-- ![](img/git_definition.png) -->
`git` is a **version control system** (VCS) for tracking changes in computer files and coordinating work on those files among multiple people [1]. `git` is a **version control system** (VCS) for tracking changes in computer files and coordinating work on those files among multiple people [1].
Designed and implemented in 2005 by **Linus Torvalds** <br><br><br>Designed and implemented in 2005 by **Linus Torvalds**
![](img/linus.jpg) ![](img/linus.jpg)
......
# Why use git?
* keep the changes you made over time
* allow you to backtrack (if necessary) and undo those changes
* easily add contributions of your collaborators to the main code base
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