Problem
Attempting to create a new branch from the 'master' branch across all repositories using the All option in the dialog results in an error.
Cause
The issue arises because some repositories within the project use a 'master' branch, while at least one uses a 'main' branch. When the All option is selected, the operation fails due to this inconsistency in branch naming.
Resolution
To resolve this issue, ensure that all repositories in the project follow a consistent branch naming convention. Specifically:
- Verify the default branch name for each repository.
- Standardize the branch names across repositories (e.g., renaming 'main' to 'master' or vice versa) based on the team's branch naming policies.
Alternatively, avoid using the All option and manually create branches for each repository individually from their respective primary branch (master or main).
Comments
0 comments
Please sign in to leave a comment.