1

I am new mac user and I find keychain very useful, but also some issues appeared. I have private and business github accounts, so I like to switch between them and configure github profile for each project local. However, my mac's keychain each time saves new password and applies it for each project, folder etc. So, when I am switching between projects I must always delete github.com record from keychain and type credentials again. Could you tell me how can I set my git's passwords being ignored by keychain? Any other solutions?

Thanks

4
  • I assume you're using a GUI tool to access github, if Keychain is involved. If you're comfortable using git on the command-line, you could easily create a couple aliases to switch between users.
    – MMB
    Commented Apr 2, 2017 at 6:29
  • @MMB I am using console
    – quento
    Commented Apr 2, 2017 at 11:11
  • Odd. I've never seen Keychain when using git from the command-line. I found a number of useful, but lengthy posts by Googling "github multiple accounts" and "github work personal" so give that a try.
    – MMB
    Commented Apr 3, 2017 at 17:26
  • Keychain can also be invoked even using command line git.
    – Celdor
    Commented Apr 4, 2017 at 23:29

0

You must log in to answer this question.

Browse other questions tagged .