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

minor formatting changes

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