Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Test_Repo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philemon Prevot
Test_Repo
Commits
1c444062
Commit
1c444062
authored
11 months ago
by
Tristan Villepreux
Browse files
Options
Downloads
Patches
Plain Diff
ajout d'un text GIT
parent
7e216587
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
GIT
+21
-0
21 additions, 0 deletions
GIT
with
21 additions
and
0 deletions
GIT
0 → 100644
+
21
−
0
View file @
1c444062
GIT
Sauvegarde l'historique alors que l'on travaille sur des fichiers.
git clone <ssh or url repository> <destination_path>
Cloner un dépot en ligne sur son PC
git pull
télécharger les modifs ajoutées à un depot distant
git add
Ajouter des fichiers et modifications au suivi du git (spécifie quels fichiers ajouter à l'historique).
git add . "ajoute tous les fichiers"
git add <file name> "ajoute les fichiers nommés"
git commit -m
Sauvegarde les modifications localement
git push
Envoi les versions (commits) sur le dépôt distant (origin) pour les gmlobaliser.
git push origin master (master ou main)
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