Commit 783d7138 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

Merge branch '2020-01-31_gitTrainingBiotechTeam' into 'develop'

slides for git training - biotech team

See merge request R3/school/courses!59
parents cb24c75e 2b3b7324
Pipeline #20342 passed with stage
in 1 minute and 12 seconds
# Overview
1. Introduction 📚
1. What is `git`? What is the use of `git`? 📚
2. GitHub and GitLab 📚
2. Installation & set up
- Configure git 💻
- Configure an SSH key 💻
3. Before starting to contribute to a repository
- What is a fork? 📚
- Create and clone a fork 💻
4. Contributing to a repository
- What are branches? 📚
- Create a branch 💻
- Create and edit a new card 💻
5. Submit the contribution for review
- What is a merge request? 📚
- Submit a merge request 💻
- Review a merge request 💻
6. Summary 📚
\ No newline at end of file
# Let's refresh our memories
<div class="fragment">
- What is a **fork**?
<div class="fragment">
- What are **branches**?
<div class="fragment">
- Can I have **multiple branches** in my fork?
<div class="fragment">
- What is a good **development scheme**?
# Thank you.
<img src="slides/img/r3-training-logo.png" height="200px">
Contact us if you need help:
# What is `git`? (i)
<!-- ![](slides/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].
Designed and implemented in 2005 by **Linus Torvalds**
<div align="center">
<img src="slides/img/linus.jpg">
[1] **
# What is `git`? (ii)
<div align="center">
<img src="slides/img/git_definition.png">
`I'm an egotistical bastard, and I name all my projects after myself.
First Linux, now git.`
Linus Torvald (2007-06-14)
# What is the use of `git`?
* `git` can be used for code or text documents, such as markdown language
* No need to fully rewrite code/text; **reuse code/text** 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 repository
Other points:
- `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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment