Créer une nouvelle branche GitHub

Problème :

Comment créer une nouvelle branche d’un dépôt GitHub à partir du terminal ?

Solution :

Faire

git branch {NOM_DE_LA_BRANCHE}

Exemple :

git branch nouvelle-branche

Ceci crééra une nouvelle branche portant le nom nouvelle-branche.


Laisser un commentaire