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

git_sitrep() shows global git config #837

Closed
isteves opened this issue Jul 14, 2019 · 1 comment
Closed

git_sitrep() shows global git config #837

isteves opened this issue Jul 14, 2019 · 1 comment

Comments

@isteves
Copy link

@isteves isteves commented Jul 14, 2019

As someone in the awkward situation of having 2 GitHub accounts (which is perhaps a problem I need to solve by getting rid of one of them), the git_sitrep() output is confusing when I try to use my secondary account for a project since the name/email are based on the global settings.

Changing global to FALSE here should resolve this problem. If there's a design reason for showing the global settings, perhaps it can be documented. Let me know if a PR would help.

@jennybc
Copy link
Member

@jennybc jennybc commented Jul 19, 2019

I think this should probably have a section reporting similar info for local git config, if it detects such a thing.

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

Successfully merging a pull request may close this issue.

None yet
2 participants