Recently I face a problem once I pulled commits using pull button in android studio I got this error:
Update failed
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
After I tried to execute the git pull command in terminal built-in android studio they asked me for a password for the wrong account(I used this account in another project)
What I tried
I used these commands:
git config --global user.name "Bob"
git config --global user.email "[email protected]"
but it's still ask me for the old account not the one I give it in the next commandDelete all credentials in Keychain access and execute pull again(I thought it should ask me for the credentials again but that's didn't happened unfortunately)
Any ideas or suggestions
Thanks in Advance : )
CodePudding user response:
Its because of recent changes in Bitbucket.
https://atlassian.community/t5/x/x/ba-p/1948231
Trying using the SSH-based cloning instead of username/password based.