dtzar / vsts-gitmerge

A Visual Studio Team Services task which tests to see if git merges succeeed/fail and also allows the merge of specific commits to branches

Home Page:https://marketplace.visualstudio.com/items?itemName=dtzar.git-merge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git Merge Task

Overview

Note: This marketplace task is no longer published or being developed. If interested to take this repository/task over, then please send me an email or contact me.

This Azure DevOps marketplace task does a test merge or actual merge and push of Azure DevOps git branches in the build or release areas.

Modes

The task operates in 1 of 2 modes:

  • Test Merge - tests if branches can be merged, but never commits

    The specified branches will attempt to merge only local to the build agent and if the branches cannot be automatically merged (i.e. merge conflicts) then the task will fail. Otherwise the task passes without committing any merges.

  • Merge - which commits and pushes a merge between two branches.

Test Merge Mode

When running in Test Merge Mode, you must set the repository of the build (in the Repository tab) to the "target" repo. Then specify:

  • Branch(es) to Test Merge - this is a comma-separated list of branches you want to test merging into the "target" repo

Merge Mode

When running in Merge Mode, you must set the repository of the build (in the Repository tab) to the branch you want to merge. Then specify:

  • Branch to merge into - this is the branch to merge into (default is master)

When queuing the build, you can specify a commit Id if you want to merge an older commit Id. Otherwise the head of the branch repo will be merged.

Advanced Settings

  1. Name of this remote: Name of the remote in Azure DevOps. Defaults to origin.
  2. PAT: Your personal access token must be set here if you are using this task in a "Release" workflow.

About

A Visual Studio Team Services task which tests to see if git merges succeeed/fail and also allows the merge of specific commits to branches

https://marketplace.visualstudio.com/items?itemName=dtzar.git-merge

License:MIT License


Languages

Language:TypeScript 100.0%