I have removed the credential helper using git config -global -unset credential.helper and setup core.askpass using git config -global core.askpass true, but Git still uses the username and password stored in the OS. In my case, I can reset the current username and password using /Applications/Utilities/Keychain Accessīut if possible, I would like Git to prompt me for authentication every time when requires for credential. According to the screen shot, I want to push a testing repository to GitHub account of jeud, but Git remembers the credentials of account tutor4dev, so Git never prompts me for any authentication like I would get when using Ubuntu and Windows. Type in your new preferred password, choose a hint, and then click Next. This will launch the Recovery Assistant where you’ll be able to reset your Mac’s user password. I have a problem in OS X where Git remembers the previous credentials. Once Terminal opens up, type resetpassword without the quotes and hit the Return key. I'm using Git on both Ubuntu, Windows and sometimes in OS X. I'm a Git instructor, so must have multiple GitHub accounts for demonstration purposes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |