diff --git a/book/07-git-tools/sections/credentials.asc b/book/07-git-tools/sections/credentials.asc index f82418148..4628bf8aa 100644 --- a/book/07-git-tools/sections/credentials.asc +++ b/book/07-git-tools/sections/credentials.asc @@ -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. @@ -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.