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

fix: only set git config if does not exist #361

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

mdonnalley
Copy link
Contributor

What does this PR do?

Only set git config user.email and git config user.name if they are not already set. This prevents the command from overwriting the git config on your personal machine

What issues does this PR fix or reference?

@W-10205989@

@mdonnalley mdonnalley self-assigned this Nov 22, 2021
@mdonnalley mdonnalley force-pushed the mdonnalley/maybe-set-git-config branch from 882c9fa to 58922ea Compare November 22, 2021 22:30
@mdonnalley mdonnalley force-pushed the mdonnalley/maybe-set-git-config branch from 58922ea to dce6f81 Compare November 22, 2021 22:42
@mdonnalley mdonnalley merged commit 0a0ed83 into main Nov 22, 2021
@mdonnalley mdonnalley deleted the mdonnalley/maybe-set-git-config branch November 22, 2021 23:15
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.

2 participants