Outils pour utilisateurs

Outils du site


divers:git:workflow

Ceci est une ancienne révision du document !


Workflow

Initialisation

Créer un dossier et initialiser le dépôt

git init

Commit initial

git add .
git commit -m "Initial commit"

Travailler sur une branche

Créer une nouvelle branche

git branch <branche>

Se placer sur la branche pour commencer les modifications

git checkout <branche>

Faire les modifications, ensuite commiter les changements sur cette branche

git add .
git commit -m "Modifications effectuées..."

Continuer les modifications et les commits sur cette branche.

divers/git/workflow.1617954197.txt.gz · Dernière modification: 2021/04/09 07:43 (modification externe)