Author: Abraham Ukachi
School: La Plateforme_
Project: GIT Begins
Voici les commandes git qui permettent de:
git clone url du repo
git clone https://github.com/abraham-ukachi/git-begins.gitgit add fichier
git add README.mdgit commit <-m option> message
git commit -m "Initial commit"git push <-u option> [<branch>]
git pushou
git push -u origin maingit pull <option> [<url du repo>]
La commande que permet de pull:
git pullLa commande qui permet de créer une branche sur github est la suivante:
git branch nom de la branche
git branch add-create-branch-commandPour switcher d'une branche a une autre:
git branch checkout nom de la branche
git branch checkout main