Skip to content

Skip configure step post-install #2010

@Okeanos

Description

@Okeanos

Feature description

I have recently started working with GCM in a limited fashion and was surprised that during installation (on macOS) GCM inserted itself into my Git Config.

While generally nice of GCM to be "ready" post-install, touching the global (user) Git config is an annoyance for me because I managed my dotfiles (including the Git Config) manually. To prepare for GCM I would have put the expected settings in there upfront.

Is there a way to skip this post-install/configure step? Why do I ask? Because my macOS dotfiles should work on Intel and ARM based Macs and the GCM helper path added to the global config is platform/CPU bound (/usr/local vs /opt/homebrew) and cannot be reused across systems.

The best I found for now is manually using helper = %(prefix)/git-credential-manager but I still have to verify that on ARM Macs.

Somewhat related to #1696 – if I could tell GCM to use an alternative file instead, that'd be also fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions