user1900956
user1900956

Reputation: 487

How to make git asked user and password

I have to install git on server and i want it ask for username and password who is updating the code. I have tried these cmd but didn't find these useful

git config -l

Currently git is not asking and updating the code with my id only.Can anybody help me for the same.

Upvotes: 1

Views: 176

Answers (1)

Purvil Bambharolia
Purvil Bambharolia

Reputation: 681

Did you use git config credential.helper store to store your username and password?

You can try disabling the git credentials storage by -

git config --global --unset credential.helper

Upvotes: 1

Related Questions