osx - How to make git reset previous credentials on OS X? -
i'm git instructor, must have multiple github accounts demonstration purposes. i'm using git on both ubuntu, windows , in os x.
i have problem in os x git remembers previous credentials. according screen shot, want push testing repository github account of jeud, git remembers credentials of account tutor4dev, git never prompts me authentication when using ubuntu , windows.
i have tried git config credential.https://github.com.jeud jeud
, it's still not working.
please guide do, thanks.
edited
in case, can reset current username , password using /applications/utilities/keychain access
but if possible, git prompt me authentication every time when github.com requires credential.
i have removed credential helper using git config --global --unset credential.helper
, setup core.askpass using git config --global core.askpass true
, git still uses username , password stored in os.
i have solved problem deleting existing credential on machine using /applications/utilities/keychain access
Comments
Post a Comment