Skip to content

Cannot configure git to use nbdime locally only #781

@Jacob-Stevens-Haas

Description

@Jacob-Stevens-Haas

I was following the install instructions on how to configure git to use nbdime as the diff driver and it looks like you wrap up a lot of helpful commands in:

nbdime config-git --enable --global

I assumed that meant I could also pass --local, --system and --worktree. Since I don't want nbdime globally, I tried

nbdime config-git --enable --local

but I get the error that git-nbdiffdriver doesn't recognize the argument --local.

Is this possible to do automatically, or do I need to enable each nbdime entrypoint separately in git config if I'm not using --global?

nbdime version: 4.0.2
python version: 3.10.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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