Can I see the Git passwords stored using credential helper?
Longtime back I have used credential.helper
to store my password, by using the following command
git config credential.helper store
and from then my pulls are working fine, now, unfortunately, I forgot my password. Is there any way I can look at the data what credential helper stored in my system?
1 Answer
5 years ago by Eleven
Yes, credential helper stores your passwords in a file name .git-credentials
which can be located at the root of the user folder.
Run the following command to see your credentials.
cat ~/.git-credentials
5 years ago by Karthik Divi