Skip to content
Snippets Groups Projects
Commit ff3d8ae3 authored by FILIPPONE Jerome's avatar FILIPPONE Jerome
Browse files

Upload New File

parent 0e0b177b
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment