Skip to content

Create a New Branch

PROJECT ZERO edited this page Jan 18, 2025 · 1 revision

Create a New Branch

Step-by-Step Instructions

  1. Open Terminal: Open your terminal or command prompt.

  2. Navigate to the Repository: Use the cd command to navigate to the directory of your cloned repository.

  3. Create a New Branch: Use the git checkout command followed by the -b flag and the name of your new branch. For example:

    git checkout -b new-feature-branch
  4. Verify the Branch: Verify that the new branch has been created and switched to by using the git branch command.

    git branch
  5. Start Making Changes: You can now start making changes to your codebase on the new branch.

TABLE OF CONTENTS

Clone this wiki locally