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

Add git config user.email and user.name #307

Merged
merged 8 commits into from
Feb 22, 2022
Merged

Conversation

sorenlouv
Copy link
Owner

@sorenlouv sorenlouv commented Feb 21, 2022

Closes #270

This will infer the git config values user.email and user.name from the source repository. This is necessary if no global git config values are set.

It is also possible to set the username and email manually in the .backportrc.json config:

{
    "accessToken": "***",
    "gitUserName": "Your Name",
    "gitUserEmail": "you@example.com"
}

@sorenlouv sorenlouv force-pushed the add-git-config-email branch 6 times, most recently from fe9f24d to 86a608d Compare February 21, 2022 13:49
@sorenlouv sorenlouv closed this Feb 21, 2022
@sorenlouv sorenlouv reopened this Feb 21, 2022
@sorenlouv sorenlouv force-pushed the add-git-config-email branch 2 times, most recently from 826277c to b4c4160 Compare February 22, 2022 01:19
@sorenlouv sorenlouv force-pushed the add-git-config-email branch from 33ac0ae to 90f12dd Compare February 22, 2022 01:26
@sorenlouv sorenlouv merged commit 15273d3 into main Feb 22, 2022
@sorenlouv sorenlouv deleted the add-git-config-email branch February 22, 2022 10:55
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.

Use locally defined email for commits
1 participant