You can create a new branch from an existing branch.
- A Git repository associated with the project
- The source/parent branch must be checked out.
-
Open Project Manager.
- In the navigation tree, locate the project, and click the down arrow to display the menu.
- Select Checkout Git Repository.
- Configure the Git Repository Checkout settings.
- Repository: Select the repository that will contain the new
branch.
- Branches/Tags: Enter the name of the branch to create.
-
Hard Reset: Replaces all assets in the project or project space with those
in the Git repository. Discards all uncommitted changes (modified or conflicting assets) and
assets with an Added, Tracked, or Removed status.
-
Discard Untracked Files: With Hard Reset selected, deletes all untracked files from the project or project space during checkout.
Important: You can select Hard
Reset and leave Discard Untracked Files unchecked if you want
to retain a set of assets and not track them.
- Click Checkout.
The Git Integration creates a new repository branch based on the existing branch.