Sprint branch management allows you to view, protect, archive, and modify sprint branches within your project.Accessing Sprint Branch Management#
Option 1: Click Manage Sprint Branches in the sprint branch switch next to APIsOption 2: Navigate to Settings β Manage Sprint BranchesOn the management page, you can:View a complete list of sprint branches
Perform various operations on branches
Protecting Branches#
Currently, only the main branch can be set as protected.
When you hover over a branch, you'll see available actions. To enable protection:1.
Click the Protected option
2.
Once protected, direct modifications are not allowed
3.
Changes must be made through a Merge Request (MR) from another branch
4.
Requests require approval from a project administrator
Project administrators can directly modify protected branches without submitting a merge request.
Archiving and Restoring Sprint Branches#
Archiving Branches#
Archiving indicates that a sprint branch's development lifecycle is complete and it will no longer be used for business purposes.1.
Click Archive next to the branch
2.
Archived branches are collapsed in the management page
3.
Archived branches no longer appear in the sprint branch switch
Restoring Branches#
If you need to query content from a previously archived sprint branch:1.
Click Restore next to the archived branch
2.
The branch becomes a normal branch again
3.
You can switch to this branch using the sprint branch switch
4.
Perform any operations as needed
Modifying Sprint Branches#
Renaming Branches#
Click the Edit button to rename a sprint branch.Deleting Branches#
Click the Delete button to permanently delete a branch.Important: Deleting a branch removes all its content permanently and cannot be undone. Proceed with caution.We recommend using Archive instead of Delete in most circumstances.