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

Report a clear error when git authentication fails #144

Open
jamesaoverton opened this issue Mar 15, 2024 · 0 comments
Open

Report a clear error when git authentication fails #144

jamesaoverton opened this issue Mar 15, 2024 · 0 comments

Comments

@jamesaoverton
Copy link
Member

Nico, Anita, and I all ran into this problem: DROID is running as root. It runs git as root to checkout a new branch (create-branch). My /root/.gitconfig was set to use gh for authentication. My gh auth had expired. But we don't really need any authentication to checkout a branch locally.

The error is reported in the logs, but it was hard to interpret the message.

I would like a clearer message on the page with instructions to fix.

Alternatively, it might be possible to avoid the error, maybe by running git with default configuration?

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

1 participant