Latest Updates in Technology, Programming, Finance, Books, Useful Websites, Gadget Reviews & More
16Feb/160

git: ‘credential-cache’ is not a git command : SOLVED

Friends,

If you are facing the below problem with your project

[exec] git: 'credential-cache' is not a git command. See 'git --help'.

Execute the below command and it should fix the problem

 

git config --global --unset credential.helper

Hope this helps.

 

Tagged as: No Comments
16Feb/160

How to Store Git credentials in Windows

Friends,

If you are looking to store credentials in Git on Windows so that you wont be prompted for credentials whenever you access Git Hub.

Go to any directory of the Git project on the computer.

1)Run the following command

git config --global credential.helper store

2) After that try to run a simple Pull command, it would prompt for credentials. Once the credentials are provided they will be saved and you wont be prompted for Git credentials for that particular Git repository.

git pull

Hope this helps.

Thanks,

Tagged as: No Comments