Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

How to store credentials for two different github accounts? #749

@GorvGoyl

Description

@GorvGoyl

I have 2 github accounts (work & personal) for which I want to store credentials (username + password) in my Windows 10 (in secure way).

git config --global credential.helper manager command sets only single username & password which conflicts between personal repo and work repo in my machine. Both repo are cloned using HTTPS.

I want to store and access more than one credentials (username+password) in a machine. Is it possible?

I know SSH is an option but I would like to know the way for HTTPS clone.


I had also asked this on SO but didn't get proper response. how-to-store-credentials-locally-per-repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions