Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
git_tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
orestis.malaspin
git_tutorial
Commits
f82cf599
Verified
Commit
f82cf599
authored
3 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
updated slides
parent
1af569bd
No related branches found
No related tags found
No related merge requests found
Pipeline
#14850
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
git_tutorial.md
+8
-4
8 additions, 4 deletions
git_tutorial.md
with
8 additions
and
4 deletions
git_tutorial.md
+
8
−
4
View file @
f82cf599
% Introduction à Git
% Orestis Malaspinas
% commit 1
d8bcf97fe56b4298ad7e71c4234fa2c77255a11
% commit 1
af569bd27849e60d0e04e16a294a2a20f831ca4
# Des références
...
...
@@ -452,7 +452,11 @@ Git voit les fichiers dans trois états possibles:
2.
*untracked*
, un fichier qui n'a pas été
`add`
ou
`commit`
.
3.
*ignored*
, un fichier qui est explicitement ignoré par git.
## Quels fichiers ignorer
## Certains fichiers ne doivent pas être `addables`
*
Ils doivent
*explicitement*
être ignorés.
# Quels fichiers ignorer
On ignore typiquement:
...
...
@@ -462,7 +466,7 @@ On ignore typiquement:
*
Les fichiers de configuration d'un IDE: .vscode, ...
*
Les fichiers système.
#
# Comment ignorer des fichiers?
# Comment ignorer des fichiers?
*
Créer un fichier texte nommé
`.gitignore`
.
*
L'ajouter au répo git et le "commit".
...
...
@@ -480,7 +484,7 @@ sanders # ignore le répertoire sanders
[
^2
]:
Pour
une liste plus exhaustive voir le site
<https://bit.ly/2HTZJyQ>
par exemple.
#
# Bibliographie
# Bibliographie
Ces quelques slides sont inspirés du site
<https://bit.ly/2HTZJyQ>
.
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