git delete the persistent store account passwords .git-credentials

git at the time of submission, submission can not be found, not their own personal information, through the  git config --list  to see the mailbox and username are their own.

This time we need to previously recorded information is ever deleted.

1.  git config --list | grep Credential  view the persistent storage of way

credential.helper=osxkeychain
credential.helper=store

The first is the mac comes with a keychain (Launch Pad -> Other -> Keychain Access, search git-related target information deleted)

The second is a file storage address in ~ / .git-credentials

By modifying the file vim 

vim ~/.git-credentials

We can see similar information

http://username:[email protected]
https://xxxx:[email protected]

username is the user name and password after the colon is to find the information you want to delete, delete, and then save and exit.

Enter i can edit, delete your own press esc and enter the colon and then enter wq enter to save and exit (w save q to quit)

 

Now try to see information will not be someone else on the line.

Guess you like

Origin www.cnblogs.com/maopixin/p/12054614.html