Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fill in git options user.email and user.name if not set #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wpyoga
Copy link
Contributor

@wpyoga wpyoga commented Feb 3, 2022

I'm proposing this patch to fix #48

Rationale:

  • sometimes user.email and user.name are not configured globally
  • we don't want to override global settings, so:
    • if user.email and user.name are configured globally, use those
    • otherwise, ask the user and set those options locally (for the current repo, which will be the one pushed to GitHub/GitLab)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin creation fails if git user.email is not configured
1 participant