Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
school
courses
Commits
ad4b894b
Verified
Commit
ad4b894b
authored
Oct 02, 2019
by
Laurent Heirendt
✈
Browse files
minor formatting changes
parent
e50d2dbd
Changes
3
Hide whitespace changes
Inline
Side-by-side
2019/2019-10-03_basicGitTraining-SIU/slides/forks.md
View file @
ad4b894b
# 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/
use
rName/basic-git-practice.git
basic-git-practice
$
git clone https://github.com/
<you
rName
>
/basic-git-practice.git
```
...
...
2019/2019-10-03_basicGitTraining-SIU/slides/syncFork.md
View file @
ad4b894b
...
...
@@ -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
```
...
...
2019/2019-10-03_basicGitTraining-SIU/slides/what_is_git.md
View file @
ad4b894b
# What is `git`?
# What is `git`?
(i)
<!--  -->
...
...
@@ -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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment