GTUTO
https://www.gtuto.com/git/
Export date: Wed Apr 30 16:24:55 2025 / +0000 GMT

GIT


git init
git config --global user.name "toto
git config --global user.email "toto@toto.com"

git add monnouveaufichier.txt
ou git add *
git status -> pour controle

git commit -m "message"

git log -> liste les commit avec leurs ID

git checkout ID -> remettre l'état de l'ID
git checkout master -f -> retour à la dernière version écrase les modif

git branch
git branch nouvellebranche

git checkout master
git merge nouvellebranche
git branch -d nombranche

git remote add origin https://.... toto.git

git remote -> controle

git push -u origin master -> envoyer vers distant

git pull -u origin master -> récupérer distant

Post date: 2023-12-21 02:06:00
Post date GMT: 2023-12-21 02:06:00

Post modified date: 2024-02-28 20:43:15
Post modified date GMT: 2024-02-28 20:43:15

Export date: Wed Apr 30 16:24:55 2025 / +0000 GMT
This page was exported from GTUTO [ https://www.gtuto.com ]
Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com