Git continually prompts for your user credentials when you push, it is probably because your credentials are either not being cached or not being correctly saved?
Here are some commands to fix the situation:
You can set up your credentials to be stored permanently using the store
helper(Note that storing them in plain text is rather insecure).
git config --global credential.helper store
After executing the commands above, Git will store your credentials in the ~/.git-credentials
file the first time you enter them. Subsequently, you should now be able to stop Git repeatedly asking for your credentials.
Top comments (0)