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

Honor ~/.gitconfig for git user name, email #286

Merged
merged 1 commit into from Feb 13, 2018

Conversation

Projects
None yet
3 participants
@zed
Copy link
Contributor

commented Feb 10, 2018

Don't ask for user name, email on the first git commit if they are already specified in the global user config: ~/.gitconfig.

Honor ~/.gitconfig for git user name, email
 Don't ask for user name, email on the first git commit if they are already specified in the global user config: `~/.gitconfig`.

@ywangd ywangd merged commit 306bdba into ywangd:dev Feb 13, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zed zed deleted the zed:patch-1 branch Feb 13, 2018

jsbain added a commit to jsbain/stash that referenced this pull request Aug 27, 2018

Correct problem introduced in ywangd#286
When ~./gitconfig does not exist, stacked config does not work as expected.  This change allows user to specify whether to use global config, or not, and creates the .gitconfig file if needed
@jsbain

This comment has been minimized.

Copy link
Contributor

commented Aug 27, 2018

This fix only worked if .gitconfig already existed. #333 fixes that.

ywangd added a commit that referenced this pull request Aug 29, 2018

Merge pull request #333 from jsbain/patch-2
Correct problem introduced in #286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.