How to delete a dev branch?

Henry Zhu 0 Reputation points Microsoft Employee
2025-03-10T18:58:57.3566667+00:00

How to delete my dev branch?

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,333 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 21,320 Reputation points Microsoft External Staff
    2025-03-11T08:38:54.4266667+00:00

    Hi @Henry Zhu

    To delete a dev branch in Azure Data Factory (ADF) when using Git integration, follow these steps:

    • Ensure the branch is not set as the collaboration branch – Only non-collaboration branches can be deleted.
    • Switch to a different branch – Navigate to another branch (e.g., main) in ADF.
    • Delete the branch in your Git repository:
      • If using Azure DevOps: Go to Repos > Branches, locate your dev branch, and select Delete.
      • If using GitHub: Navigate to Branches, find the dev branch, and click Delete.

    Screenshot shows delete your branch in the Azure DevOps web portal.

    • Refresh ADF – In Azure Data Factory, go to the Manage tab, select Git Configuration, and click Refresh to sync changes.

    For more information, please refer below articles:

    1. https://learn.microsoft.com/en-us/azure/devops/repos/git/delete-branch?view=azure-devops&source=recommendations
    2. https://learn.microsoft.com/en-us/azure/devops/repos/git/delete-git-branch?view=azure-devops&source=recommendations&tabs=Browser

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.