Seems like a simple problem but I can't find a solution, in my git config credentials stored
in the cache(username and personal access token) the git config --list
returns the credential info like this
credential.helper=cache
Is it possible to see the credentials from the cache, I tried the following three locations
(repository_home) /.git/config
- there is no info about the username and password
~/.gitconfig
- file not found in the repo folder
From git-credential git credential fill
could be helpful here, you need to input host and protocol details to get username and password.
$ git credential fill
protocol=https
host=example.com
Output:
protocol=https
host=example.com
username=bob
password=secret
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With