Skip to main content
  1. Learn
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Comment utiliser Git
  6. Comment utiliser les branches dans Git
  7. Créer une branche
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Créer une branche

Utilisez la commande git branch pour créer votre première nouvelle branche et nommez-la issue1.

$ git branch issue1

Si vous ne spécifiez aucun paramètre, la commande branch répertorie toutes les branches correspondant au référentiel. L'astérisque indique la branche active.

$ git branch
issue1
* main

L'historique se présente maintenant comme suit:

Current history

Smarter teamwork, delivered

Get practical advice, workflow guides, and proven strategies to help your team adopt tools fast and stay organized.