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

brew file init Error #91

Closed
0xmachos opened this issue Sep 11, 2020 · 2 comments
Closed

brew file init Error #91

0xmachos opened this issue Sep 11, 2020 · 2 comments

Comments

@0xmachos
Copy link

OS: macOS 10.5.6
Brew: 2.5.0 (Homebrew/homebrew-core (git revision 6f4b92; last commit 2020-09-11))
Shell: zsh 5.8 (x86_64-apple-darwin19.3.0)

When I run brew file init I get the following error:

$ brew file init -y
[ERROR]: Failed at command: git config --get github.user

This used to work for me and I'm not sure when it stopped working.

I have a .gitconfig file which sets user.name. I've not seen github.user widely used before.

@rcmdnk
Copy link
Owner

rcmdnk commented Sep 14, 2020

Thank you for the report.
There was a bug to stop there.
It should try to get user.name after github.user, too.

Could you please try v8.0.4 (do brew update && brew upgrade && brew file init -y)?
It will correctly try to get user.name after failing to get github.user.

@0xmachos
Copy link
Author

v8.0.4 has fixed the issue for me.

Cheers for the quick response and fix.

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

No branches or pull requests

2 participants