Git or Github pull, push errors solution in Android Studio Bumblebee | 2021.1.1

1.5k Views Asked by At
git config credential.helper store

Enable "Use Credential Helper" in Settings -> Version Control -> Git.

In Every project you have to config with this terminal code.

*This is a temporary solution until find anything related to this issue

2

There are 2 best solutions below

0
On BEST ANSWER

Error:- "Push failed, Invocation failed Unexpected end of file from server"

Enter This command in terminal/CMD

git config --local user.name 'your username'
git config --local user.password 'your password'
git config --global credential.helper store

Solution:- Also make sure, "Use Credential help" is checked in setting > VCS > Git. Android Setting image

2
On

In Every project you have to config with this terminal code.

If you want to configure it for every project in one go:

git config --global credential.helper store

Note that the Microsoft GCM (Git Credential Manager) would be more secure than 'store" (which stores credentials in plain text).
You can install GCM on Windows/Linux/Mac (it comes by default with Git for Windows)