Skip to content

Is it possible to create this configuration artifact with CLI commands? #1

Description

@rulatir

I must be able to script registering a merge driver. Can this configuration artifact

[merge "my-custom-driver"]
	name = A custom merge driver used to resolve conflicts in certain files
	driver = my-merge-tool.sh %O %A %B

be somehow created in the configuration using a sequence of git config CLI commands? I don't see a documentation anywhere on how to access values in sections named like [merge "my-custom-driver"] rather than with a single unquoted word like [user].

Your mergetool-setup.sh overwrites any existing config entirely, which is undesirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions