Skip to content

add option --create-missing to merge task #8

Description

@sengmann

In many cases we use the tcc-cli with a config like this:

module.exports = {
  "merges": [
    [
      "v8/00-start",
      "v8/01-create-project/solution",
    ],
    [
      "v8/01-create-project/solution",
      "v8/02-data-binding/solution",
    ],
}

When changing the prefix we have to create all branches per hand before we can merge for the first time. I think something like this would be nice:

const version = "v8"
module.exports = {
    "merges": [
        [
            `${version}/00-start`,
            `${version}/01-create-project/solution`,
        ],
        [
            `${version}/01-create-project/solution`,
            `${version}/02-data-binding/solution`,
        ],
    ]
}
tcc-cli merge --create-missing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions