Skip to content

Conversation

toolness
Copy link
Contributor

I tried the following example from the book and it just displayed the help for git config:

git config --global credential.helper store --file ~/.my-credentials

After a bit of research I found the git-credential-store(1) Manual Page which actually puts single quotes around the store --file ~/.my-credentials, which worked for me. I'm using git version 1.9.1, not sure if that makes a difference.

Note that there's another example at the bottom of this page, git config --global credential.helper read-only --file /mnt/shared/creds, which might also require single quotes around its last part to work, but I'm not sure, so I didn't change that.

@ben
Copy link
Member

ben commented Feb 25, 2016

Hey, nice catch. It definitely can't hurt with the read-only helper, why don't you go ahead and change that too.

@toolness
Copy link
Contributor Author

Sure thing, done!

@ben
Copy link
Member

ben commented Feb 25, 2016

😄👍

ben added a commit that referenced this pull request Feb 25, 2016
Fix cmdline in credentials.asc
@ben ben merged commit 33a43e2 into progit:master Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants