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: fatal: unknown value for config 'protocol.version': 2" when switching channels #14

Open
oSoMoN opened this issue Oct 16, 2020 · 0 comments

Comments

@oSoMoN
Copy link

oSoMoN commented Oct 16, 2020

$ flutter channel dev
Switching to flutter channel 'dev'...
git: fatal: unknown value for config 'protocol.version': 2
Switching channels failed with error code 128.

This was caused by the following section in my local ~/.gitconfig:

[protocol]
    version = 2

I worked around the problem by commenting it out and re-running the flutter channel command.

It looks like the version of git embedded in the flutter snap is too old to understand the git V2 protocol.

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