Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • R3/school/courses
  • vilem.ded/courses
  • todor.kondic/courses
  • noua.toukourou/courses
  • nene.barry/courses
  • laurent.heirendt/courses
  • marina.popleteeva/courses
  • jenny.tran/courses
8 results
Show changes
Showing
with 146 additions and 0 deletions
../../../../2020/2020-03-30_basicGitTraining/slides/img/fork-crossed.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/fork.jpg
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/git_definition.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/github_app.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/icon-live-demo.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/installation.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/linus.jpg
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/logoLCSB.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/qualitybadge.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/r3-training-logo.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/redcross.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/reproCrisis.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/snoopy.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/therac.png
\ No newline at end of file
../../../../2020/2020-03-30_basicGitTraining/slides/img/wheel.png
\ No newline at end of file
# Elixir-LU training (R3.school)
## March 18th, 2021
<div style="top: 6em; left: 0%; position: absolute;">
<img src="theme/img/lcsb_bg.png">
</div>
<div style="top: 5em; left: 60%; position: absolute;">
<img src="slides/img/elixir.png" height="200px">
<img src="slides/img/r3-training-logo.png" height="200px">
<br><br><br><br>
<h1>Basic git training</h1>
<br><br><br><br>
<h4>
Laurent Heirendt, Ph.D.<br>
laurent.heirendt@uni.lu<br>
<i>ELIXIR/LU, Luxembourg Centre for Systems Biomedicine</i>
</h4>
</div>
# The terminal (shell)
**macOS users:**
> Start the Terminal from your `/Applications` directoy.
![bulb](slides/img/bulb.png) Install iTerm2: [https://www.iterm2.com](https://www.iterm2.com)
<br>
**Windows users:**
> Install Git Bash: [https://git-scm.com/download/win](https://git-scm.com/download/win)
<br>
**Linux users:**
> Launch default terminal.<br>
![bulb](slides/img/bulb.png) Install Terminator: [https://launchpad.net/terminator](https://launchpad.net/terminator)
# Installation of `git`
<img src="slides/img/github_app.png" class="as-is" height="200" />
**macOS**
> Install *Xcode Command Line Tools*
<br>
**Windows**
> Install Git Bash: <br>`https://git-scm.com/download/win`
<br>
**Linux (Ubuntu)**
```bash
$ sudo apt-get install git-all
```
# How to get started?
**macOS**
> Start the `Terminal` or `iTerm`.
<br>
**Windows**
> Start `GUI Bash`.
<br>
**Linux (Ubuntu)**
> Start the `Terminal` or `Terminator`.
[
{ "filename": "index.md" },
{ "filename": "overview.md" },
{ "filename": "what_is_git.md" },
{ "filename": "github_gitlab.md" },
{ "filename": "installation.md" },
{ "filename": "the_terminal.md" },
{ "filename": "the_editor.md" },
{ "filename": "configuration.md" },
{ "filename": "cloneRepo.md" },
{ "filename": "forks.md" },
{ "filename": "branches.md" },
{ "filename": "essential_commands.md" },
{ "filename": "merge.md" },
{ "filename": "syncFork.md" },
{ "filename": "best_practices.md" },
{ "filename": "thanks.md" }
]
# Pull (merge) requests
If you want your changes to be reflected on the `develop` or `master` branches,
**submit a PR** via the Github interface.
Use the **interface** to make use of your peers to review your code!
<img src="slides/img/branch-merge.png" class="branch-merge" height="500em"/>
Once merged, you can delete the branch via the interface.
<div class="fragment">
<img src="slides/img/icon-live-demo.png" height="100px" >
\ No newline at end of file
# Overview
1. What is `git`? What is the use of `git`?
2. GitHub and GitLab
3. The terminal
4. Installation of `git`
5. The editor
6. How do I configure `git`?
7. Where and how to start?
8. What is a fork?
9. What are branches?
10. The 5 essential commands (`pull` / `status` / `add` / `commit` / `push`)
11. What are merge/pull requests?
12. How do I synchronize my fork?
13. Best practices
\ No newline at end of file