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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philemon Prevot
Test_Repo
Commits
5937d244
Commit
5937d244
authored
11 months ago
by
Tristan Villepreux
Browse files
Options
Downloads
Patches
Plain Diff
maJ du GIT
parent
c3f42e1e
Branches
main
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
GIT
+31
-0
31 additions, 0 deletions
GIT
with
31 additions
and
0 deletions
GIT
+
31
−
0
View file @
5937d244
...
@@ -19,3 +19,34 @@ Sauvegarde les modifications localement
...
@@ -19,3 +19,34 @@ Sauvegarde les modifications localement
git push
git push
Envoi les versions (commits) sur le dépôt distant (origin) pour les gmlobaliser.
Envoi les versions (commits) sur le dépôt distant (origin) pour les gmlobaliser.
git push origin master (master ou main)
git push origin master (master ou main)
git branch
Créer une branche (en local donc à faire avant de réaliser ses modif)
git checkout dev
Changer de branche
git status
voir les modifications qui ont été apportées et sur quelle branche on est
---
Création d'un nouveau dépôt
git init
Dans le dossier en local, fait du dossier un dépôt git
git remote add origin <url ou ssh nouveau_git>
crée un nouveau dossier url git vide
faire un git add > git commit > git push
---
.gitignore
\__(-_-)__/
WORKFLOW
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