You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Repositories

Branches

How do I create a local branch?

$ git checkout -b <NAME-OF-BRANCH>

If you are using Git version 2.24 or newer you can also use the command: git switch --create <NAME-OF-BRANCH>

  • No labels