training-manual icon indicating copy to clipboard operation
training-manual copied to clipboard

Add credential manager setup instructions

Open parkerbxyz opened this issue 3 years ago • 5 comments

I’d like to add a page that outlines how to set up Git Credential Manager for use in different environments.

macOS

git config --global credential.helper osxkeychain

Windows

git config --global credential.helper wincred

Windows Subsystem for Linux (WSL)

To set up Git Credential Manager for use with a WSL distribution, open your distribution and enter this command:

git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"

parkerbxyz avatar Mar 17 '21 18:03 parkerbxyz

@parkerbxyz , do you think this should live in the "Tool tips" section as a single page or as a section in the Local Git Configs section?

beardofedu avatar Mar 17 '21 18:03 beardofedu

I think either of those would be good places for it. Do you have a preference, @beardofedu?

parkerbxyz avatar Mar 17 '21 19:03 parkerbxyz

I think Local Configs might be the play, I can add that pretty quickly, especially since you already identified most of the heavy lifting 😄

beardofedu avatar Mar 17 '21 19:03 beardofedu

these instructions are on this page: https://githubtraining.github.io/training-manual/#/07_collaborating_on_code?id=collaborating-on-your-code if you want to move it to another section

whatupfoo avatar Mar 17 '21 20:03 whatupfoo

@rwnfoo I thought they might already exist, I can just make it a more prominent section and leave it right with the first push

beardofedu avatar Mar 17 '21 20:03 beardofedu