Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
courses
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
R3
school
courses
Commits
a67572b3
Commit
a67572b3
authored
8 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
Removing parts-*
parent
1d578c3b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
part-2-git-intro.md
+0
-79
0 additions, 79 deletions
part-2-git-intro.md
part-3-installation.md
+0
-25
0 additions, 25 deletions
part-3-installation.md
with
0 additions
and
104 deletions
part-2-git-intro.md
deleted
100644 → 0
+
0
−
79
View file @
1d578c3b
## Overview
0.
The Linux Terminal
1.
What is
`git`
? Why do I need it? (5 min)
2.
GitHub and GitLab (5min)
*
Practical session (5 min)
-
GitLab interface
-
GitHub interface
3.
The 5 essential commands (10 min)
*
Practical session (15 min)
-
init
-
clone
-
add
-
4.
Branches (10 min)
*
Practical session (10 min)
5.
Forks (10 min)
*
Practical session (10 min)
6.
Evaluation (10 min)
## The Linux Terminal
Starting the terminal presents itself with a line where you can enter a command:
```
sh
michael@myComputer>
```
Often written, for covenience, as:
```
sh
$
```
When you open your terminal (git shell) and unless otherwise configured, you are located
in your home directory, denoted as
`~/`
.
## Essential Linux commands
List the contents of a directory
```
sh
$
ls
```
Change the directory to a specific folder
```
sh
$
cd
myDirectory
```
Change the directory 1 level and 2 levels up
```
sh
$
cd
..
$
cd
../..
```
Create a directory
```
sh
$
mkdir
myNewDirectory
```
## What is `git`? Why do I need it?


Designed and implemented in 2005 by
**Linus Torvalds**
`git`
is a version tracking system, essentially for code.
Collaborative platform for code development
## The 5 essential commands
`pull, status, add, commit, push`
(P-SAC-P)
note:
Put your speaker notes here.
You can see them pressing 's'.
Fullscreen can be activated by typing 'f'.
This diff is collapsed.
Click to expand it.
part-3-installation.md
deleted
100644 → 0
+
0
−
25
View file @
1d578c3b
## Installation
<img
src=
"img/github_app.png"
class=
"as-is"
height=
"300"
/>
[
mac.github.com
](
http://mac.github.com
)
ou
[
windows.github.com
](
http://windows.github.com
)
note:
Les participants téléchargent le logiciel Github + installation.
## Configuration
```
shell
$
git config
--global
user.name
"Sebastien Saunier"
$
git config
--global
user.email
"seb@saunier.me"
$
git config
-l
```
## Prêt ?
```
shell
$
git
--version
# git version 1.8.5
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment