Skip to content

Cannot create bridge "user.name not configured" #480

Closed

Description

@Irubataru

I tried building from source because I wanted to see the changes from #372 (building 86faedc), but when I then try to create a remote bridge through git bug bridge configure I get this error regardless of the fact that the user.name is set in my .gitconfig (it also worked in the latest release just now).

Error: user name is not configured in git yet. Please use `git config --global user.name "John Doe"`

Also get it if I do the manual bridge config command.

Edit: It works if I configure user.name and user.email locally in the repo.

Activity

  1. karlicoss commented on Oct 30, 2020

    @karlicoss
    Contributor

    strace output shows that the last thing it's trying to access before failing is .git/config in the project directory.. odd

  2. xloem commented on Oct 30, 2020

    @xloem
    Contributor

    right; it is checking the repository-local username in .git/config, but the error message says to set the global one, so following the instructions doesn't resolve the issue.

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