Basically I am trying to perform the git operations ie git pull/git push to https:// from Git bash and don't want to enter password again and again asking on the prompt.
However I am not able to solve this thing on my windows 10 OS machine.
Things I have tried
I want to bypass entering the password for each and every git pull/push.
With git version 3.28.0 -> git config --global credential.helper manager-core
(not working)
Also tried using git config --global credential.helper cache
but after hitting the above command I am getting this error:
credential-cache unavailable; no unix socket support
$ git pull
fatal: credential-cache unavailable; no unix socket support
fatal: credential-cache unavailable; no unix socket support
fatal: credential-cache unavailable; no unix socket support
fatal: credential-cache unavailable; no unix socket support
Also tried with git credential store and it also gave below error git config credential.helper
store:
$ git pull
fatal: credential-cache unavailable; no unix socket support
Want to bypass the git bash prompt in Microsoft Windows 10 password again and again
Thanks
You have to use your SSH key to sign your interactions between your computer and your GitHub/GitLab/GitWhatever account. This is the GitHub documentation, but there is pretty the process on your computer is not related to the git platform used, and I think you can find the same kind of documentation for the other platforms.
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh
Then, I guess you tried to push to your own repository, so use the git://...
url instead of the https one.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.