Skip to content

Commit 33a43e2

Browse files
committed
Merge pull request #544 from toolness/patch-1
Fix cmdline in credentials.asc
2 parents d4d130b + 0c5c2f4 commit 33a43e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/07-git-tools/sections/credentials.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Here's an example of how you'd configure the ``store'' helper with a custom file
3636

3737
[source,console]
3838
----
39-
$ git config --global credential.helper store --file ~/.my-credentials
39+
$ git config --global credential.helper 'store --file ~/.my-credentials'
4040
----
4141

4242
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
193193

194194
[source,console]
195195
----
196-
$ git config --global credential.helper read-only --file /mnt/shared/creds
196+
$ git config --global credential.helper 'read-only --file /mnt/shared/creds'
197197
----
198198

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

0 commit comments

Comments
 (0)