Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
COURS
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
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
RICHI Nabila
COURS
Commits
ff3d8ae3
Commit
ff3d8ae3
authored
2 years ago
by
FILIPPONE Jerome
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
0e0b177b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
EXERCICE_29SEPT2022.txt
+37
-0
37 additions, 0 deletions
EXERCICE_29SEPT2022.txt
with
37 additions
and
0 deletions
EXERCICE_29SEPT2022.txt
0 → 100644
+
37
−
0
View file @
ff3d8ae3
mkdir FCT
cd FCT
git clone https://gitlab.univ-lorraine.fr/USER/PREMIERPROJET.git
cd PREMIERPROJET/
touch fichier1.txt
git add fichier1.txt
git commit -m "envoi de fichier1"
git remote -v
git remote add origin https://gitlab.univ-lorraine.fr/USER/PREMIERPROJET.git
git remote rm origin
git remote -v
git remote add origin https://gitlab.univ-lorraine.fr/USER/PREMIERPROJET.git
git branch ==> tester à différents endroits
git push origin
git push --set-upstream origin main
git branch dev
git checkout dev
gedit fichier1.txt
git add .
git commit -m "resolution du pb"
git push origin dev ====> ERREUR ?
git checkout main
git merge dev
git status
git log
git commit -m "fusion avec la branche principale"
git log
git push origin
history
BONUS :
- essayer git clone ssh://git@gitlab.univ-lorraine.fr/USER/PREMIERPROJET.git
- exploiter les programmes c en créant des branches dédiées dev1 et dev2
- laisser les autres membres consulter votre projet
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