Skip to content

Commit

Permalink
Merge pull request progit#544 from toolness/patch-1
Browse files Browse the repository at this point in the history
Fix cmdline in credentials.asc
  • Loading branch information
ben committed Feb 25, 2016
2 parents d4d130b + 0c5c2f4 commit 33a43e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/07-git-tools/sections/credentials.asc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Here's an example of how you'd configure the ``store'' helper with a custom file

[source,console]
----
$ git config --global credential.helper store --file ~/.my-credentials
$ git config --global credential.helper 'store --file ~/.my-credentials'
----

Git even allows you to configure several helpers.
Expand Down Expand Up @@ -193,7 +193,7 @@ Since its name starts with ``git-'', we can use the simple syntax for the config

[source,console]
----
$ git config --global credential.helper read-only --file /mnt/shared/creds
$ git config --global credential.helper 'read-only --file /mnt/shared/creds'
----

As you can see, extending this system is pretty straightforward, and can solve some common problems for you and your team.

0 comments on commit 33a43e2

Please sign in to comment.