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

Merge branch '2019-10-03_siu-basic-course' into 'develop'

minor formatting changes to siu basic git training

See merge request !49
parents 0217f4da ad4b894b
No related branches found
No related tags found
No related merge requests found
# What is a `fork`?
<br><br>
<center><img src="slides/img/fork.jpg" class="as-is" height="500em"/></center>
<!--http://www.cndajin.com/data/wls/246/22302193.jpg-->
......@@ -7,6 +8,7 @@
# Not really ...
<br><br>
<center><img src="slides/img/fork-crossed.png" class="as-is" height="500em"/></center>
......@@ -23,6 +25,7 @@
- In other words, you have to work on your own <font color="red">**fork**</font>.
<br>
<h2>How to get a fork?</h1>
Browse to the original repository and click on the button `Fork`:
......@@ -52,7 +55,7 @@ $ cd basic-git-practice
If you did not configure your SSH key, clone using HTTPS:
```bash
$ git clone https://github.com/userName/basic-git-practice.git basic-git-practice
$ git clone https://github.com/<yourName>/basic-git-practice.git
```
......
......@@ -18,7 +18,7 @@ $ git remote -v
<div class="fragment">
Fetch the changes from upstream (similar to pull)
Fetch (download) the changes from upstream (fetch = pull & merge)
```bash
$ git fetch upstream
```
......
# What is `git`?
# What is `git`? (i)
<!-- ![](slides/img/git_definition.png) -->
......@@ -14,7 +14,7 @@ Designed and implemented in 2005 by **Linus Torvalds**
# The inventor of `git`
# What is `git`? (ii)
<div align="center">
<img src="slides/img/git_definition.png">
......@@ -22,6 +22,7 @@ Designed and implemented in 2005 by **Linus Torvalds**
`I'm an egotistical bastard, and I name all my projects after myself.
First Linux, now git.`
<br>
Linus Torvald (2007-06-14)
......@@ -29,12 +30,16 @@ Linus Torvald (2007-06-14)
# What is the use of `git`?
* No need to fully rewrite code; **reuse code** and **save time**
* Keep the changes you made over time (**history**)
* Allows you to **backtrack** (if necessary) and undo unwanted changes
* Easily **add contributions** of your collaborators to the main code base
note:
<br>
Other points:
- git shall not be considered as a nuisance, but as a tool that should help to track and trace the code.
Other points to mention:
* git shall not be considered as a nuisance, but as a tool that should help to track and trace the code.
* git is not to track performance. Not using it shows exactly the opposite.
- git is not to track performance. Not using it shows exactly the opposite.
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