Skip to content

react-native-git-upgrade doesn't work with local user config #12334

Description

@jpaas

I don't have a global git config for user.email because I use different emails for different repos. Instead I set it in each repo. Even though git config -l confirms my user.email is set in my local repo, react-native-git-upgrade refuses to run because it believes it isn't set.

In order to run react-native-git-upgrade, I have to set user.email in my global .gitconfig. So I think whatever check it is doing is probably incorrect. It shouldn't care whether its set globally, only locally.

This has been around since react-native-git-upgrade was launched on up to 0.42.rc-2

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions